visualizingthefuture / examples-repository

Repository for https://visualizingthefuture.github.io/examples-repository
Other
5 stars 2 forks source link

update _includes/item_metadata.html to deal with fields that have type link but are also an array #97

Closed amzoss closed 3 years ago

amzoss commented 3 years ago

or could create a new type for these fields

this happens in datasets, had to comment out a link type in the labels_datasets layout to allow the URL array to pass through correctly

amzoss commented 3 years ago

this should be working with new updates. now using data dictionary to pull in labels, and data dictionary has been updated to include type indicators for things like links and internal examples. the item_metadata include matches page metadata up with data dictionary labels and types, then uses conditionals to change display for different kinds of items.