Created by: ffoodd
Very simple and specific improvement to the licence page, which stepped from h1
to h4
.
FYI, I also noticed a few other headings hierarchy failures when using some callouts, in which heading level is defined in Markdown without taking the context of the page in which they're included.
For example, calling callout-danger-async-methods.md
after a h2
will break headings hierarchy by stepping to h4
.
I tried a bit but struggled with Hugo specificities: we're include a Markdown partial through a partial shortcode (why? is it only to pass context?) inside a callout shortcode. So passing an argument to handle heading level in partial isn't easy.
I don't know if I should try to handle arguments in the partial
shortcode, or if I should move those callouts to .html
and calling them directly with the partial
method (without the partial shortcode in the middle).
I can't help more with this, but at least the Licence page is easy to imrpove :)