Compare commits

2 Commits

Author SHA1 Message Date
ed68b2e150 fix pagination
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-17 21:43:40 +01:00
a3408ee5d2 skip hidden items too 2022-01-17 21:38:22 +01:00
2 changed files with 3 additions and 1 deletions

View File

@ -2,7 +2,7 @@
<main> <main>
<section class='entries'> <section class='entries'>
<div class="h-feed"> <div class="h-feed">
{{ range (.Paginator 13).Pages }} {{ range where (.Paginator 13).Pages "Params.hidden" "ne" "true" }}
{{ if in .Params.categories "tv"}} {{ if in .Params.categories "tv"}}

View File

@ -702,6 +702,7 @@ li.page-item:before {
height: 50%; height: 50%;
width: 50%; width: 50%;
border-left: 2px solid black; border-left: 2px solid black;
z-index: -100;
} }
li.page-item:after { li.page-item:after {
@ -712,6 +713,7 @@ li.page-item:after {
height: 50%; height: 50%;
width: 50%; width: 50%;
border-right: 2px solid black; border-right: 2px solid black;
z-index: -100;
} }