1
0
Fork 0
forked from mCaptcha/website

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 untrusted user: realaravinth
GPG key ID: AD9F0F08E855ED88

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 }}