1
Fork 0

Simply title partial

This commit is contained in:
Jake Howard 2018-08-19 11:35:54 +01:00
parent e4cabc1cef
commit 7b46565f26
Signed by: jake
GPG key ID: 57AFB45680EDD477
2 changed files with 4 additions and 4 deletions

View file

@ -11,7 +11,7 @@
{{ partial "style.html" "scss/style.scss" }}
<title>{{ partial "title-item.html" (dict "page" . "current" .)}}{{ .Site.Title }}</title>
<title>{{ partial "title-item.html" . }}{{ .Site.Title }}</title>
{{ partial "metadata.html" . }}
</head>

View file

@ -1,5 +1,5 @@
{{ .page.Title }} ::
{{ .Title }} ::
{{ if .page.Parent }}{{ if not .page.Parent.IsHome }}
{{ partial "title-item.html" (dict "page" .page.Parent "current" .current) }}
{{ if .Parent }}{{ if not .Parent.IsHome }}
{{ partial "title-item.html" .Parent }}
{{ end }}{{ end }}