seo home title

This commit is contained in:
2026-08-18 18:42:57 +02:00
parent e339d75921
commit b757ce3406
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
<html lang="de">
<head>
<meta charset="utf-8">
{{- $title := cond .IsHome .Site.Title .Title }}
{{- $title := cond .IsHome (.Site.Params.homeTitle | default .Site.Title) .Title }}
{{- if and .IsNode (ne .Kind "home") }}
{{- if eq .Kind "term" }}{{ $title = printf "%s (%s)" .Title (cond (eq .Data.Singular "tag") "Tag" "Kategorie") }}{{ end }}
{{- end }}