lorescape/layouts/micro/summary.html

13 lines
475 B
HTML
Raw Normal View History

2020-10-14 21:31:14 +00:00
<article class="{{ with .Section }}section-{{ . | urlize }} {{ end }}list-view">
<header>
<h2 class="hidden">{{ .Title }}</h2>
<p><a href="{{ .RelPermalink }}">
{{ with $.Param "author" }}<span class="author">{{ . }}</span> {{ end -}}
<time class="created-date" datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">{{ .Date.Format ($.Param "dateformat" | default "2 January, 2006") }}</time>
</a></p>
</header>
<div class="content">
{{ .Content }}
</div>
</article>