From e57f05f7b46e729c4bb1ccfaee048e1b2ffc17f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Weber?= Date: Wed, 1 Feb 2023 08:17:48 +0100 Subject: [PATCH] markdown: fix h1 ids for multiple words title and foreign characters #459 --- layouts/404.html | 2 +- layouts/partials/_taxonomy.html | 2 +- layouts/partials/archetypes/chapter/article.html | 2 +- layouts/partials/archetypes/default/article.html | 2 +- layouts/partials/archetypes/home/article.html | 2 +- layouts/partials/body.searchpage.html | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/layouts/404.html b/layouts/404.html index 7215db2a5c..8ef94f2bac 100644 --- a/layouts/404.html +++ b/layouts/404.html @@ -30,7 +30,7 @@
-

{{ T "title-404" }}

+

{{ T "title-404" }}

{{ T "message-404" }}

diff --git a/layouts/partials/_taxonomy.html b/layouts/partials/_taxonomy.html index 9514005690..4061012e94 100644 --- a/layouts/partials/_taxonomy.html +++ b/layouts/partials/_taxonomy.html @@ -8,7 +8,7 @@ {{- $title = printf "%s %s " (.Data.Singular | humanize) (default "::" .Site.Params.titleSeparator) }} {{- end }} {{- $title = printf "%s%s" $title .Title }} -

{{ $title }}

+

{{ $title }}

    {{- range .Data.Terms.Alphabetical }} {{- $len := 0 }} diff --git a/layouts/partials/archetypes/chapter/article.html b/layouts/partials/archetypes/chapter/article.html index 3db3a7d144..f71cd3509c 100644 --- a/layouts/partials/archetypes/chapter/article.html +++ b/layouts/partials/archetypes/chapter/article.html @@ -3,7 +3,7 @@ {{- with $page }}
    {{ partial "heading-pre.html" . }}
    {{ T "Chapter" .Params.Weight }}
    -

    {{ .Title }}

    {{ partial "heading-post.html" . }} +

    {{ .Title }}

    {{ partial "heading-post.html" . }} {{ $content | safeHTML }}