blog layout: show metadata

This commit is contained in:
Aravinth Manivannan 2021-05-27 18:38:58 +05:30
parent d8db5988de
commit 927f744a61
Signed by: realaravinth
GPG Key ID: AD9F0F08E855ED88
1 changed files with 9 additions and 4 deletions

View File

@ -19,13 +19,18 @@
</ol> </ol>
</nav> </nav>
{{ end }} {{ end }}
<h1>{{ .Title }}</h1> <article>
<p class="lead">{{ .Params.lead | safeHTML }}</p> <div class="blog-header">
{{ partial "main/headline-hash.html" .Content }} <h1>{{ .Title }}</h1>
{{ partial "main/blog-meta.html" . }}
</div>
<p class="lead">{{ .Params.lead | safeHTML }}</p>
{{ .Content }}
</article>
{{ partial "main/docs-navigation.html" . }}
{{ if .Site.Params.editPage -}} {{ if .Site.Params.editPage -}}
{{ partial "main/edit-page.html" . }} {{ partial "main/edit-page.html" . }}
{{ end -}} {{ end -}}
{{ partial "main/docs-navigation.html" . }}
</main> </main>
</div> </div>
{{ end }} {{ end }}