diff options
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> |