Skip to content

Commit a70ca47

Browse files
Simple list template for blog posts
1 parent 6756e59 commit a70ca47

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

themes/brevis/layouts/blog/list.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{{- define "main" }}
2+
<ul>
3+
{{- range .Pages }}
4+
<li>
5+
<time>{{ .Date.Format "2006-01-02" }}</time>: <a href="{{ .RelPermalink }}">{{ .Title | safeHTML }}</a>
6+
</li>
7+
{{- end }}
8+
</ul>
9+
{{- end }}

0 commit comments

Comments
 (0)