website

Personal website
git clone https://github.com/michaelneuper/website.git
README | Files | Log | Refs

commit 1514466a8fdcb0157a40c9ce20179661b4ab0c47
parent ae0a1529e56f74e160b78f572fbee7c72af4a878
Author: Michael Neuper <michael@michaelneuper.com>
Date:   Wed,  1 Nov 2023 20:18:46 +0200

Improve backwards compatibility with search engines

Diffstat:
Mconfig.toml | 2+-
Mlayouts/_default/single.html | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/config.toml b/config.toml @@ -8,7 +8,7 @@ hasCJKLanguage = false languageCode = "en" rssLimit = 10 theme = "hugo-texify2" -title = "Michael's Site" +title = "Michael" [[menu.main]] identifier = "posts" diff --git a/layouts/_default/single.html b/layouts/_default/single.html @@ -5,7 +5,7 @@ {{ define "main" }} <main id="main" class="post"> - {{ if ne .Section "post"}} + {{ if ne .Section "posts"}} <article class="content {{ if .Site.Params.numberedSubtitles }}numbered-subtitles{{ end }}"> {{ .Content }} </article>