32 lines
642 B
HTML
32 lines
642 B
HTML
{{ partial "header.html" . }}
|
|
<main id="main">
|
|
<header>
|
|
{{ if .Params.display_title }}
|
|
<h1> {{ .Params.display_title }} </h1>
|
|
{{ else }}
|
|
<h1>{{ .Title }}</h1>
|
|
{{ end }}
|
|
|
|
{{ if .Params.hide_post_meta }}
|
|
|
|
{{ else }}
|
|
{{ if .Params.author }}
|
|
{{ .Author }}
|
|
{{ else if .Site.Params.author }}
|
|
{{ .Site.Params.author }}
|
|
{{ end }}
|
|
{{ if .Date }} {{ .Date.Format "2006/01/02" }} {{ end }}
|
|
{{ end }}
|
|
|
|
{{ if .Params.toc }}
|
|
{{ .TableOfContents }}
|
|
{{ end }}
|
|
</header>
|
|
|
|
<article>
|
|
{{ .Content }}
|
|
</article>
|
|
</main>
|
|
|
|
{{ partial "footer.html" . }}
|