use title partial for page header

This commit is contained in:
Robert Kaussow 2020-02-16 23:19:14 +01:00
parent b45afba0b9
commit 0019007a37

View File

@ -1,7 +1,7 @@
{{ define "main" }} {{ define "main" }}
{{ partial "page-header" . }} {{ partial "page-header" . }}
<article class="gdoc-markdown"> <article class="gdoc-markdown">
<h1>{{ .Page.Title }}</h1> <h1>{{ partial "title" . }}</h1>
{{ .Content }} {{ .Content }}
</article> </article>
{{ end }} {{ end }}