mirror of
https://github.com/skoelle/buildbroken-blog-archive.git
synced 2026-09-17 18:30:25 +00:00
seo home title
This commit is contained in:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user