aboutsummaryrefslogtreecommitdiff
path: root/layouts/_default/list.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default/list.html')
-rw-r--r--layouts/_default/list.html23
1 files changed, 11 insertions, 12 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index 5d1370f..7a26339 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -1,12 +1,11 @@
1{{ define "main" }} 1{{ define "main" }}
2 <article> 2 <h1>{{ .Title | title }}</h1>
3 <section>{{- .Content -}}</section> 3 {{ if .Content }}
4 <section> 4 <p>{{ .Content }}</p>
5 {{ range .Paginator.Pages }} 5 {{ end }}
6 <div> 6 <section>
7 {{ .Render "summary" }} 7 {{ range sort .Pages "Date" "desc" }}
8 </div> 8 <div>{{ .Render "summary" }}</div>
9 {{ end }} 9 {{ end }}
10 </section> 10 </section>
11 </article> 11{{ end }}
12{{ end }}