diff options
| author | user <user@localhost.localdomain> | 2023-10-20 22:49:31 -0400 |
|---|---|---|
| committer | user <user@localhost.localdomain> | 2023-10-20 22:49:31 -0400 |
| commit | 6bfd84ae2c7aad006c3bc84cdce9aebf894cbe62 (patch) | |
| tree | adcce31c689d3e63ab3ea8bd36f9ac384eca4cad /layouts/book/list.html | |
| parent | cf6c17546bc40d41c169279ad7b8f60bf0888ab3 (diff) | |
add summary for books
Diffstat (limited to 'layouts/book/list.html')
| -rw-r--r-- | layouts/book/list.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/book/list.html b/layouts/book/list.html index d1d1263..25976dd 100644 --- a/layouts/book/list.html +++ b/layouts/book/list.html | |||
| @@ -5,7 +5,7 @@ | |||
| 5 | {{ end }} | 5 | {{ end }} |
| 6 | <section> | 6 | <section> |
| 7 | {{ if .IsSection }} | 7 | {{ if .IsSection }} |
| 8 | {{ range sort (.Paginator 3).Pages "Date" "desc" }} | 8 | {{ range sort .Pages "Date" "desc" }} |
| 9 | {{ if ne .Layout "list" }} | 9 | {{ if ne .Layout "list" }} |
| 10 | <div>{{ .Render "summary" }}</div> | 10 | <div>{{ .Render "summary" }}</div> |
| 11 | {{ end }} | 11 | {{ end }} |
