We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 590b7db commit 80525edCopy full SHA for 80525ed
site/themes/m10c/layouts/term.html
@@ -0,0 +1,20 @@
1
+{{ define "main" }}
2
+<article>
3
+ <h1>{{ .Title }}</h1>
4
+ <ul class="posts-list">
5
+ {{ range $index, $element := .Paginator.Pages }}
6
+ <li class="posts-list-item">
7
+ <a class="posts-list-item-title" href="{{ .Permalink }}"
8
+ >{{ .Title }} ({{.Type}})</a
9
+ >
10
+ <span class="posts-list-item-description">
11
+ {{.PublishDate.Format "Jan 2, 2006" }} {{ if eq $element.Type "writing"
12
+ }} - {{ partial "icon.html" (dict "ctx" $ "name" "clock") }} {{
13
+ .ReadingTime }} min read{{ end }}
14
+ </span>
15
+ </li>
16
+ {{ end }}
17
+ </ul>
18
+ {{ partial "pagination.html" $ }}
19
+</article>
20
+{{ end }}
0 commit comments