extend title on subpages dynamically. Fixes #33
parent
4d97c20cf7
commit
4c6f965901
|
@ -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 }}
|
||||||
|
|
Loading…
Reference in New Issue