diff options
author | Óscar Nájera <hi@oscarnajera.com> | 2022-01-01 21:03:20 +0100 |
---|---|---|
committer | Óscar Nájera <hi@oscarnajera.com> | 2022-01-01 21:03:20 +0100 |
commit | 113d4e53416ddf42212da6f217670bdc6f0c9dd8 (patch) | |
tree | 7e9bcd4a2a274e45da5538fe67c525dfb36680de /layouts/partials/post_pager.html | |
parent | e34ded01904b07456a48cf28f1a5a2d2d77a0be7 (diff) | |
download | hugo-minimalist-theme-113d4e53416ddf42212da6f217670bdc6f0c9dd8.tar.gz hugo-minimalist-theme-113d4e53416ddf42212da6f217670bdc6f0c9dd8.tar.bz2 hugo-minimalist-theme-113d4e53416ddf42212da6f217670bdc6f0c9dd8.zip |
Import new minimalist design
Diffstat (limited to 'layouts/partials/post_pager.html')
-rw-r--r-- | layouts/partials/post_pager.html | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/layouts/partials/post_pager.html b/layouts/partials/post_pager.html new file mode 100644 index 0000000..6fe00aa --- /dev/null +++ b/layouts/partials/post_pager.html @@ -0,0 +1,10 @@ +<nav class="flex items-center justify-center pa4 f5"> +{{ with .NextInSection }} + <a href="{{ .RelPermalink }}" rel="prev" class="near-white link bg-animate hover-bg-light-gray hover-near-black pa2 ba ma2"> + « {{ .Title }}</a> +{{ end }} +{{ with .PrevInSection }} + <a href="{{ .RelPermalink }}" rel="prev" class="near-white link bg-animate hover-bg-light-gray hover-near-black pa2 ba ma2"> + {{ .Title }} »</a> +{{ end }} +</nav> |