summaryrefslogtreecommitdiffstats
path: root/layouts/stream
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2023-10-22 20:37:05 +0100
committerMatthew Lemon <y@yulqen.org>2023-10-22 20:37:05 +0100
commit0c90ee0f3c1c5a7ca88a028d2bd0d113de61e8a1 (patch)
tree14fe67c479edef564a063c32ef6376a2a4bb388b /layouts/stream
parentf1dbc28426a61bd8a5c38e4b3ad11ec190071f8b (diff)
Added forward and back arrows
Diffstat (limited to 'layouts/stream')
-rw-r--r--layouts/stream/list.html8
1 files changed, 6 insertions, 2 deletions
diff --git a/layouts/stream/list.html b/layouts/stream/list.html
index 39c2b1e..0249c4f 100644
--- a/layouts/stream/list.html
+++ b/layouts/stream/list.html
@@ -27,7 +27,7 @@
<hr class="new1">
{{ end }}
-<p>Stream navigation:</p>
+<p><em>Navigation:</em></p>
{{ if $paginator.HasPrev }}
<a href="{{ $paginator.Prev.URL }}">&larr;</a>
@@ -35,7 +35,11 @@
{{ range $paginator.Pagers }}
- <a href="{{ .URL }}">{{ .PageNumber }}</a>
+ {{ if (eq .PageNumber $paginator.PageNumber) }}
+ <strong><a href="{{ .URL }}" style="background-color: lightgray; color: black">{{ .PageNumber }}</a></strong>
+ {{ else }}
+ <a href="{{ .URL }}">{{ .PageNumber }}</a>
+ {{ end }}
{{ end }}
{{ if $paginator.HasNext}}