summaryrefslogtreecommitdiff
path: root/layouts/_default/all_posts.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default/all_posts.html')
-rw-r--r--layouts/_default/all_posts.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/layouts/_default/all_posts.html b/layouts/_default/all_posts.html
new file mode 100644
index 0000000..51c9d65
--- /dev/null
+++ b/layouts/_default/all_posts.html
@@ -0,0 +1,18 @@
+{{ define "main" }}
+<article class="list taxonomy">
+ <h2>
+ All posts on this blog
+ </h2>
+ <ul>
+ {{ range where site.RegularPages "Type" "!=" "special"}}
+ <li>
+ <a href="{{ .Page.Permalink }}">
+ <time>{{ .PublishDate.Format "2006-01-02" }}</time>
+ &#183;
+ {{ .Page.Title }}
+ </a>
+ </li>
+ {{ end }}
+ </ul>
+</article>
+{{ end }}