Open ldeso opened 2 months ago
I asked on the forum and the lead developer of Hugo answered that this should be solved with https://github.com/gohugoio/hugo/issues/8680#issuecomment-1047726555
Edit: this is now possible using Page.Markup
available from Hugo v0.134.0.
The theme should be updated to render a single h1 element per page.
The title of each post is currently rendered in an h1 element, no matter if the post is the only one on the page or if it is part of a list. This results in multiple h1 elements on the home page. This used to be valid HTML5, but it was retracted from the specification around 2022.
Related