Closed penyaskito closed 7 months ago
Tested and this works with both yarn build
and hugo serve
with hugo v0.99.0
.
FYI, no need to use ddev for this if you have hugo installed. I guess we need a CONTRIBUTING.md! I thought we had one. 🤔
@q0rban I use ddev for everything, I don't even have node installed locally and just a very old php!
sounds good, since we don't have a CONTRIBUTING.md I'll just note that all you need is hugo serve
to run this locally, not nodejs unless you want to run the linter or link checker scripts.
Ended up writing https://github.com/penyaskito/ddev-hugo
Running
yarn build
gave me an error:shortcode "children" must be closed or self-closed
See https://github.com/gohugoio/hugo/issues/10838
Apparently hugo 0.111 is more restrictive, and hugo 0.111 is the default in e.g. debian 12 repos (I'm using ddev). This should work in any previous version of hugo though.