summaryrefslogtreecommitdiff
path: root/layouts/posts/list.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/posts/list.html')
-rw-r--r--layouts/posts/list.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/layouts/posts/list.html b/layouts/posts/list.html
new file mode 100644
index 0000000..b5ec8ca
--- /dev/null
+++ b/layouts/posts/list.html
@@ -0,0 +1,22 @@
+{{- define "main" }}
+<h1>{{ .Title }}</h1>
+{{ .Content }}
+{{- range .Sections }}
+ <h2>{{ .Title }}</h2>
+ <ul>
+ {{- range .Pages }}
+ <li>
+ <a class="u-url" href="{{ .Permalink }}"><span class="p-name">{{ .Title }}</span></a>
+ <small>
+ <time class="dt-published" datetime="{{ .Date | dateFormat "2006-01-02" }}">
+ {{ .Date | dateFormat "2006-01-02" }}
+ </time>
+ {{- range .Params.tags }}
+ <a class="p-category tag" href="/tags/{{ . | lower }}">{{ . }}</a>
+ {{- end }}
+ </small>
+ </li>
+ {{- end }}
+ </ul>
+{{- end }}
+{{- end }}