diff --git a/hugo.toml b/hugo.toml index 72a84d1..2bc2921 100644 --- a/hugo.toml +++ b/hugo.toml @@ -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 (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." diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index a67e21e..d3a7697 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -2,7 +2,7 @@
- {{- $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 }}