shift-org / shift-docs

Shift2Bikes: website and calendar for shift and pedalpalooza
https://shift2bikes.org
Other
22 stars 17 forks source link

Update to latest Hugo version #761

Closed carrythebanner closed 4 months ago

carrythebanner commented 4 months ago

Fixes #595.

Using a new source for Hugo docker images, https://hub.docker.com/r/floryn90/hugo.

Couple of changes reflected here:

Builds without warnings or errors. Needs more testing to verify that there aren't unintended changes to the output.

ionous commented 4 months ago

also needs to update in package.json

https://github.com/shift-org/shift-docs/blob/128f0b4b9238a16ef4afe76472ff88e36a7c2326/package.json#L24

( one idea to verify would be to copy a local version aside, rebuild and diff the two site directories to see if the generated output is the same )

ionous commented 4 months ago

i generated the output locally and diffed the results. there are some .xml differences ( for the site rss feed? ) -- but for the most part everything looks good. we should double check the 404 page after applying this ( the root 404 page doesn't generate, but the netlify.toml already -- for some reason -- does cp public/404/index.html public/404.html and that page is generated the same. ) and the code of conduct page. ( which might have a stray 0x0c character rendered. )