❯ hugo version
hugo v0.99.1-d524067382e60ce2a2248c3133a1b3af206b6ef1+extended linux/amd64 BuildDate=2022-05-18T11:18:14Z VendorInfo=gohugoio
Reproducible example:
git clone https://github.com/xianmin/hugo-theme-jane.git
cd hugo-theme-jane
git reset --hard 58d7b87
hugo server --contentDir='./exampleSite/content' --config='dev-config.toml'
This problem occur in https://github.com/xianmin/hugo-theme-jane/commit/58d7b87b02bdf2658135b10913a4b66026ded195 .
I use hugo v0.99.1.
Reproducible example: