diff options
Diffstat (limited to ':w')
-rw-r--r-- | :w | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -0,0 +1,17 @@ +{{ define "main" }} +{{- range where .Pages "Params.category" "blog"}} + <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 }} |