extend title on subpages dynamically. Fixes #33

lektura
max.mehl 2017-08-29 17:20:29 +02:00
parent 4d97c20cf7
commit 4c6f965901
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@
{{ with .Site.Params.author }}<meta name="author" content="{{ . }}">{{ end }} {{ with .Site.Params.author }}<meta name="author" content="{{ . }}">{{ end }}
{{ with .Site.Params.description }}<meta name="description" content="{{ . }}">{{ end }} {{ with .Site.Params.description }}<meta name="description" content="{{ . }}">{{ end }}
{{ .Hugo.Generator }} {{ .Hugo.Generator }}
<title>{{ .Site.Title }}</title> <title>{{ with .Params.Title }}{{ . }} - {{ end }}{{ .Site.Title }}</title>
{{ "<!-- Translations -->" | safeHTML }} {{ "<!-- Translations -->" | safeHTML }}
<link type="text/html" rel="alternate" hreflang="{{ .Lang }}" lang="{{ .Lang }}" href="{{ .RelPermalink }}" title="{{ .Site.Params.languageName }}"> <link type="text/html" rel="alternate" hreflang="{{ .Lang }}" lang="{{ .Lang }}" href="{{ .RelPermalink }}" title="{{ .Site.Params.languageName }}">
{{ range .Translations }} {{ range .Translations }}