use title partial for page header
parent
b45afba0b9
commit
0019007a37
|
@ -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 }}
|
||||||
|
|
Loading…
Reference in New Issue