CollectionBuilder / collectionbuilder-csv

CollectionBuilder-CSV is a "stand alone" template for creating digital collection and exhibit websites using Jekyll and a metadata CSV.
MIT License
23 stars 19 forks source link

cb_page_gen feature / logic to support multiple metadata files #35

Open evanwill opened 2 years ago

evanwill commented 2 years ago

Can _config.yml metadata value support multiple metadata files? metadata: items_2; items_3

evanwill commented 2 years ago

see #34 use case

evanwill commented 1 year ago

in template, possible liquid solution for combining the files:

{% assign metadata = site.metadata | split: ';' %}
{% for m in metadata %}
{% assign items = items | concat: site.data[m] %}
{% endfor %}