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:
@@ -11,6 +11,7 @@ paginate = 10
|
|||||||
|
|
||||||
[params]
|
[params]
|
||||||
subtitle = "but we can fix it! Sometimes :)"
|
subtitle = "but we can fix it! Sometimes :)"
|
||||||
|
homeTitle = "build broken – .NET, Clean Code, TDD und agile Softwareentwicklung"
|
||||||
bannerImage = "/images/banner.jpg"
|
bannerImage = "/images/banner.jpg"
|
||||||
description = "build broken – Das Blog-Archiv des .NET-/Softwareentwicklungs-Blogs (2009–2010): 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."
|
description = "build broken – Das Blog-Archiv des .NET-/Softwareentwicklungs-Blogs (2009–2010): 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."
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
<html lang="de">
|
<html lang="de">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<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 and .IsNode (ne .Kind "home") }}
|
||||||
{{- if eq .Kind "term" }}{{ $title = printf "%s (%s)" .Title (cond (eq .Data.Singular "tag") "Tag" "Kategorie") }}{{ end }}
|
{{- if eq .Kind "term" }}{{ $title = printf "%s (%s)" .Title (cond (eq .Data.Singular "tag") "Tag" "Kategorie") }}{{ end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|||||||
Reference in New Issue
Block a user