diff options
author | Óscar Nájera <hi@oscarnajera.com> | 2022-02-13 18:07:52 +0100 |
---|---|---|
committer | Óscar Nájera <hi@oscarnajera.com> | 2022-02-13 18:07:52 +0100 |
commit | 17d65a66e8b860fb47684ae2d311f18ec1679ee2 (patch) | |
tree | 916b28915870b6744d9bef93f0abf005036b6ad5 /layouts/partials/pagination.html | |
parent | 113d4e53416ddf42212da6f217670bdc6f0c9dd8 (diff) | |
download | hugo-minimalist-theme-17d65a66e8b860fb47684ae2d311f18ec1679ee2.tar.gz hugo-minimalist-theme-17d65a66e8b860fb47684ae2d311f18ec1679ee2.tar.bz2 hugo-minimalist-theme-17d65a66e8b860fb47684ae2d311f18ec1679ee2.zip |
Lighter white theme
There was too much green and it felt a bit annoying
Diffstat (limited to 'layouts/partials/pagination.html')
-rw-r--r-- | layouts/partials/pagination.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/layouts/partials/pagination.html b/layouts/partials/pagination.html index 3aa16f7..52f4213 100644 --- a/layouts/partials/pagination.html +++ b/layouts/partials/pagination.html @@ -2,16 +2,16 @@ {{ if gt $pag.TotalPages 1 }} <nav class="flex items-center justify-center pa4 f5"> {{ if $pag.HasPrev }} - <a href="{{ $pag.Prev.URL }}" rel="prev" class="near-white link grow hover-bg-light-gray hover-near-black pa2 ba">« {{ T "Prev" }}</a> + <a href="{{ $pag.Prev.URL }}" rel="prev" class="near-black link grow hover-bg-light-gray pa2 ba">« {{ T "Prev" }}</a> {{ end }} {{ range $pag.Pagers }} {{ if eq . $pag }} - <span class= "white w3-theme ma1 pa2 ba"> {{ $pag.PageNumber }}</span> + <span class= "near-white bg-gray ma1 pa2 ba"> {{ $pag.PageNumber }}</span> {{ else }} - <a href="{{ .URL }}" class="db near-white link grow hover-bg-light-gray hover-near-black pa2 ba">{{ .PageNumber }}</a> + <a href="{{ .URL }}" class="db near-black link grow hover-bg-light-gray hover-near-black pa2 ba">{{ .PageNumber }}</a> {{ end }} {{ end }} {{ if $pag.HasNext }} - <a href="{{ $pag.Next.URL }}" rel="next" class="near-white link grow hover-bg-light-gray hover-near-black pa2 ba">{{ T "Next" }} »</a> {{ end }} + <a href="{{ $pag.Next.URL }}" rel="next" class="near-black link grow hover-bg-light-gray pa2 ba">{{ T "Next" }} »</a> {{ end }} </nav> {{ end }} |