mirror of
https://github.com/thegeeklab/hugo-geekdoc.git
synced 2024-11-25 06:10:40 +00:00
use title partial for page header
This commit is contained in:
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
Block a user