diff options
author | tdro <tdro@noreply.example.com> | 2023-05-30 16:14:44 -0400 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2023-05-30 17:01:14 -0400 |
commit | d466fe8d98a2a789223866ccc687062b4c041907 (patch) | |
tree | ae2f23c3a3804b6c8ec81d366ca8c91fe04beb49 /themes/default/layouts/_default/section.feeds.html | |
parent | a8a70edb5dceaa7bedd7b7912c758ed1e780993e (diff) | |
download | canory-d466fe8d98a2a789223866ccc687062b4c041907.tar.gz canory-d466fe8d98a2a789223866ccc687062b4c041907.tar.bz2 canory-d466fe8d98a2a789223866ccc687062b4c041907.zip |
themes/default/layouts/partials/navigator-middle: Remove implicit paginator
Avoid spooky action, an implicit pager can generate unnecessary pages
Diffstat (limited to 'themes/default/layouts/_default/section.feeds.html')
-rw-r--r-- | themes/default/layouts/_default/section.feeds.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/themes/default/layouts/_default/section.feeds.html b/themes/default/layouts/_default/section.feeds.html index 20566df..f315c32 100644 --- a/themes/default/layouts/_default/section.feeds.html +++ b/themes/default/layouts/_default/section.feeds.html @@ -20,13 +20,13 @@ {{ partial "navigator-middle.html" (dict - "Title" "Feeds" - "Subtitle" (partial "count-feeds.html" .) - "Icon" "arrow-left" + "Context" . "IconLabel" "Back" - "Href" "/" "Id" "back" - "Context" . + "Title" "Feeds" + "Icon" "arrow-left" + "Subtitle" (partial "count-feeds.html" .) + "Href" (or (and (gt .Paginator.PageNumber 1) (.Paginator.Prev.URL | absURL)) "/") ) }} |