hackertours-theme/layouts/micro/summary.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

11 lines
265 B
HTML

<article class="{{ with .Section }}section-{{ . | urlize }} {{ end }}list-view">
<header>
<h2 class="hidden">{{ .Title }}</h2>
<p><a href="{{ .RelPermalink }}">
{{ partial "author-date" . }}
</a></p>
</header>
<div class="content">
{{ .Content }}
</div>
</article>