diff options
Diffstat (limited to 'layouts/_default/all_posts.html')
-rw-r--r-- | layouts/_default/all_posts.html | 18 |
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> + · + {{ .Page.Title }} + </a> + </li> + {{ end }} + </ul> +</article> +{{ end }} |