blog/layouts/_default/single.html

27 lines
508 B
HTML
Raw Normal View History

{{ define "title" }}
{{ .Title }} – {{ .Site.Title }}
{{ end }}
{{ define "main" }}
<main id="post" aria-role="main">
<aside>
2020-08-16 02:25:17 +00:00
{{ with (.Params.banner) }}
<img src="{{ . }}" id="banner">
{{ end }}
<h1>
{{ .Title }}
</h1>
</aside>
<article>
{{ .Content }}
</article>
</main>
<footer class="border">
<section class="pb">
Last edited on {{ .Lastmod.Format "January 2, 2006" }}.
</section>
</footer>
{{ end }}