gohugoio / hugo

The world’s fastest framework for building websites.
https://gohugo.io
Apache License 2.0
73.92k stars 7.41k forks source link

Investigate 0.71.1 template err #7317

Closed bep closed 4 years ago

bep commented 4 years ago

https://github.com/matcornic/hugo-theme-learn/blob/master/layouts/partials/menu.html#L100 https://discourse.gohugo.io/t/error-in-learn-theme-after-upgrade-from-hugo-0-71-0-to-0-71-1/25816

qiwenmin commented 4 years ago

should the line 100 of menu.html be:

{{if and .IsSection (or (not .Params.hidden) $.showhidden)}}
qiwenmin commented 4 years ago

I created a pr. Hope it fixes this issue.

https://github.com/matcornic/hugo-theme-learn/pull/403

bep commented 4 years ago

You are right ... Odd that the above didn't fail before.

github-actions[bot] commented 2 years ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.