diff options
Diffstat (limited to 'layouts/_default/list.html')
-rw-r--r-- | layouts/_default/list.html | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html index b9ddde4..d4ad721 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,6 +1,17 @@ {{ define "main" }} - {{ range where .Pages "Params.category" "meme"}} + {{ range .Pages }} <article class="list"> + <a href="{{ .Page.Permalink }}"> + {{ .Page.Title }} + </a> + ({{ .PublishDate.Format "January 2nd, 2006" }}) + <div> + {{ .Page.Summary }} + </div> + {{- if .Page.Truncated }} + <a href="{{ .Page.Permalink }}">More</a> + </div> + {{ end }} </article> {{ end }} {{ end }} |