diff options
| author | Zach Berwaldt <17715430+zberwaldt@users.noreply.github.com> | 2023-10-20 22:58:33 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-20 22:58:33 -0400 |
| commit | c516745d0dc2c6a51777ef00ef116c1b26e95ec7 (patch) | |
| tree | adcce31c689d3e63ab3ea8bd36f9ac384eca4cad /layouts/_default/list.html | |
| parent | b34e09f8fe1011963934dbf40dc92f0b258592ca (diff) | |
| parent | 6bfd84ae2c7aad006c3bc84cdce9aebf894cbe62 (diff) | |
Develop
Diffstat (limited to 'layouts/_default/list.html')
| -rw-r--r-- | layouts/_default/list.html | 23 |
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 }} | ||
