diff options
Diffstat (limited to 'layouts/stream/list.html')
-rw-r--r-- | layouts/stream/list.html | 8 |
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 }}">←</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}} |