hackertours-theme/layouts/micro/single.html
Frieder Schrempf f7fbd1e7f2
Move author and date information for post to common partials
To remove code duplication, let's move this to a partial and
reuse it.
2020-12-28 11:14:39 +01:00

15 lines
305 B
HTML

{{ define "main" -}}
<main class="main layout__main">
<article class="{{ with .Section }}section-{{ . | urlize }} {{ end }}single-view">
<header>
<h1 class="hidden">{{ .Title }}</h1>
<p>
{{ partial "author-date" . }}
</p>
</header>
<div class="content">
{{ .Content }}
</div>
</article>
</main>
{{ end }}