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]
|
||||
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."
|
||||
|
||||
|
||||
@@ -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