diff options
author | Oscar Najera <hi@oscarnajera.com> | 2025-01-06 05:22:56 +0100 |
---|---|---|
committer | Oscar Najera <hi@oscarnajera.com> | 2025-01-06 05:22:56 +0100 |
commit | c123fc189929429164bf7268a9e7d5974884499f (patch) | |
tree | 2b33979e9df4ed36d77e23f9a9571fad4f90935c /layouts/partials/post_pager.html | |
parent | ecb7569b3c047f6e6845f8a49f6eee3d6762a968 (diff) | |
download | hugo-minimalist-theme-c123fc189929429164bf7268a9e7d5974884499f.tar.gz hugo-minimalist-theme-c123fc189929429164bf7268a9e7d5974884499f.tar.bz2 hugo-minimalist-theme-c123fc189929429164bf7268a9e7d5974884499f.zip |
more translations
Diffstat (limited to 'layouts/partials/post_pager.html')
-rw-r--r-- | layouts/partials/post_pager.html | 26 |
1 files changed, 18 insertions, 8 deletions
diff --git a/layouts/partials/post_pager.html b/layouts/partials/post_pager.html index fdb5c44..350f347 100644 --- a/layouts/partials/post_pager.html +++ b/layouts/partials/post_pager.html @@ -1,10 +1,20 @@ <nav class="flex items-center justify-center pa4 f5"> -{{ with .NextInSection }} - <a href="{{ .RelPermalink }}" rel="prev" class="near-black bg-animate hover-bg-light-gray p-2 ba m-2"> - « {{ .Title }}</a> -{{ end }} -{{ with .PrevInSection }} - <a href="{{ .RelPermalink }}" rel="prev" class="near-black bg-animate hover-bg-light-gray p-2 ba m-2"> - {{ .Title }} »</a> -{{ end }} + {{ with .NextInSection }} + <a + href="{{ .RelPermalink }}" + rel="prev" + class="text-black hover:bg-gray-200 p-2 border m-2" + > + « {{ .Title }}</a + > + {{ end }} + {{ with .PrevInSection }} + <a + href="{{ .RelPermalink }}" + rel="prev" + class="text-black hover:bg-gray-200 p-2 border m-2" + > + {{ .Title }} »</a + > + {{ end }} </nav> |