scientific-python / scientific-python-hugo-theme

Hugo theme based on the design for numpy.org
https://theme.scientific-python.org/
Other
18 stars 22 forks source link

Use toml in shortcodes #484

Open jarrodmillman opened 6 months ago

jarrodmillman commented 6 months ago

While working on the grid of cards (i.e., embedded shortcodes), we ran into issue using yaml (see #468)

We should replace yamltotables (see #7 and #11). We should probably make a release with tomltotables, convert all the sites to use it, and remove yamltotables in the next release.

We may also want to use more toml in shortcodes as we make more complicated shortcodes.

alphapapa commented 4 months ago

@jarrodmillman Please see below my current plan for this issue and let me know if I've missed anything. Will be starting on the items presently. Thanks.

jarrodmillman commented 4 months ago

I can take care of tomltotable and removing yamltotable. It would be worth reviewing if there are other places that would benefit from using toml, but it isn't a priority. I will keep this open as more of a meta-issue for now.