blob: 392c5e28f716c1c7433706c47cc6e01c04cc93e5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
{{ define "main" }}
<article>
<h1>{{ .Title }}</h1>
<ul class="posts-list">
{{ range $index, $element := .Paginator.Pages }}
<li class="posts-list-item">
<a class="posts-list-item-title" href="{{ .Permalink }}">{{ .Title }}</a>
<span class="posts-list-item-description">
{{ partial "icon.html" (dict "ctx" $ "name" "clock") }} {{ .ReadingTime }} min read -
{{ .PublishDate.Format "Jan 2, 2006" }}
</span>
</li>
{{ end }}
</ul>
{{ partial "pagination.html" $ }}
</article>
{{ end }}
|