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
21 stars 16 forks source link

timeline layout fix liquid sort issues #43

Open evanwill opened 1 year ago

evanwill commented 1 year ago

Liquid doesn't sort numeric stuff correctly. Add the sorting to cb_helpers plugin as a ruby function instead, like array_count_uniq, could be specific to the timeline-style layout or just sort of implement the numeric_sort that could be used anywhere. Consider case of BC dates (negative years) and years < 1000 CE.

evanwill commented 1 year ago

working in branch "update-plugins".