{% comment %} Collection data downloads. Based on the stubs present in the config-nav, displays relevant download btn links for metadata derivatives in a variety of formats. This highlights the ability to explore and reuse collection data. E.G. --> {% include index/data-download.html %} Options: - "heading_level" = customize the level of the heading if necessary for accessibility, choose "h1", "h2", "h3", etc (optional, default "h2") {%- endcomment -%} {%- assign stubs = site.data.config-nav | map: 'stub' | join: ';' -%}
Download this collection's metadata in a variety of reusable formats.
Metadata CSV Metadata JSON {% if stubs contains "subject" %} Subjects JSON Subjects CSV {% endif %} {% if stubs contains "map" %} Geodata JSON {% endif %} {% if stubs contains "location" %} Locations CSV Locations JSON {% endif %} {% if stubs contains "timeline" %} Timeline JSON {% endif %} {% if site.data.theme.metadata-facets-fields %} Facets JSON {% endif %} Source Code