diff options
author | Matthew Lemon <y@yulqen.org> | 2023-10-23 07:57:56 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2023-10-23 07:57:56 +0100 |
commit | b18995684f5ef0d8fe0e8eb690bbc1c10c3690c5 (patch) | |
tree | abdecb02b5b45b051ee146c709cf2018d65b4ab8 /layouts/stream | |
parent | e004f704ee4a380122dfbac8ab1a94a9e794d8a0 (diff) |
wip: sorting out pagination
Diffstat (limited to 'layouts/stream')
-rw-r--r-- | layouts/stream/list.html | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/layouts/stream/list.html b/layouts/stream/list.html index 1074cdd..000d00e 100644 --- a/layouts/stream/list.html +++ b/layouts/stream/list.html @@ -8,11 +8,14 @@ <h3 id="{{ .Date.Format "Monday, 2 January 2006"| urlize}}">{{ .Date.Format "Monday, 2 January 2006" }}</h3> +{{ if $paginator.HasPrev }} + <p>this page is paginated</p> +{{ else }} + <p>this page is NOT paginated</p> +{{ end }} + <div style="margin-bottom: 1em;"> - {{ .Summary }} -</div> -<div style="margin-bottom: 1em;"> - <a href="{{ .RelPermalink }}">Read more...</a> + {{ .Content }} </div> |