blog/layouts/_default/single.html

27 lines
483 B
HTML

{{ define "title" }}
{{ .Title }} – {{ .Site.Title }}
{{ end }}
{{ define "main" }}
<main id="post" aria-role="main">
<aside>
{{ with (.Params.banner) }}
<img src="{{ . }}" id="banner">
{{ end }}
<h1>
{{ .Title }}
</h1>
</aside>
<article>
{{ .Content }}
</article>
</main>
<footer class="border">
<section class="border">
Last edited {{ .Lastmod }}
</section>
</footer>
{{ end }}