lipu-tenpo / liputenpo.org

https://liputenpo.org using https://www.11ty.dev/
https://liputenpo.org/
5 stars 4 forks source link

make lipu date come only from `lipu_ale.yaml` #80

Open alifeee opened 4 months ago

alifeee commented 4 months ago

Issue dates (e.g., nanpa jaki release date) comes from two sources:

one for the main page, in lipu_ale.yaml

https://github.com/lipu-tenpo/liputenpo.org/blob/6dcca6ca573800829925b1bffd0e97f22cf9c742/_data/lipu_ale.yaml#L1-L7

secondly for the toki from the issue, in the eleventydata file:

https://github.com/lipu-tenpo/liputenpo.org/blob/6dcca6ca573800829925b1bffd0e97f22cf9c742/toki/nanpa-jaki/nanpa-jaki.11tydata.json#L1-L6

It's quite easy for these to be different. It would be nice if the toki could grab the date from the global data file, but I am not sure how to do this with Eleventy just yet.