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
View File
@@ -11,6 +11,7 @@ paginate = 10
[params]
subtitle = "but we can fix it! Sometimes :)"
homeTitle = "build broken .NET, Clean Code, TDD und agile Softwareentwicklung"
bannerImage = "/images/banner.jpg"
description = "build broken Das Blog-Archiv des .NET-/Softwareentwicklungs-Blogs (20092010): Artikel zu Clean Code, ASP.NET, MVC, MVP, WinForms, StupidDB, NoSQL, Scrum und mehr. Von Stefan Kölle, Christina Hirth, Thomas Christian und Andreas Seebauer."
+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 }}