> Permission is granted to copy, distribute and/or modify this
> document under either the terms of the
> @@ -15,6 +12,9 @@ Documentation License, Version 1.3 or any later version published
> by the Free Software Foundation; with no Invariant Sections, no
> Front-Cover Texts, and no Back-Cover Texts.
>
> -
is per the spec.
I can fix when applying if no other changes are needed.
https://html.spec.whatwg.org/multipage/syntax.html#optional-tags
(When I was writing the website content originally I liked that omitting
the
tags helped keep the source clean, but it's an obscure HTML
feature other contributors are unlikely to be familiar with, so I
wouldn't object to changing to avoiding tag omissions even where
permitted by spec.)
> diff --git a/Documentation/_layouts/page.html b/Documentation/_layouts/page.html
> index 230b601..f2cf0f6 100644
> --- a/Documentation/_layouts/page.html
> +++ b/Documentation/_layouts/page.html
> @@ -3,7 +3,7 @@ SPDX-License-Identifier: GPL-3.0-or-later
> SPDX-FileCopyrightText: 2026 Valentin Gagarin
> {% endcomment %}
>
> -
> +
>
>
>
> @@ -17,13 +17,10 @@ SPDX-FileCopyrightText: 2026 Valentin Gagarin
>
>
>
> -
> +{% include breadcrumb.html %}
> +
> +{% assign ext = page.path | split: "." | last %}
> +{% if ext == "html" and page.no_heading != true %}
{{ page.title }}
{% endif %}
Ah, I've figured out the answer to my own question from last time.
AsciiDoctor renders page titles as h1, so without the extension check it
would be duplicated here.