Simply title partial
This commit is contained in:
parent
e4cabc1cef
commit
7b46565f26
2 changed files with 4 additions and 4 deletions
|
@ -11,7 +11,7 @@
|
||||||
|
|
||||||
{{ partial "style.html" "scss/style.scss" }}
|
{{ 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" . }}
|
{{ partial "metadata.html" . }}
|
||||||
</head>
|
</head>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{{ .page.Title }} ::
|
{{ .Title }} ::
|
||||||
|
|
||||||
{{ if .page.Parent }}{{ if not .page.Parent.IsHome }}
|
{{ if .Parent }}{{ if not .Parent.IsHome }}
|
||||||
{{ partial "title-item.html" (dict "page" .page.Parent "current" .current) }}
|
{{ partial "title-item.html" .Parent }}
|
||||||
{{ end }}{{ end }}
|
{{ end }}{{ end }}
|
||||||
|
|
Loading…
Reference in a new issue