diff options
Diffstat (limited to 'themes/PaperMod/layouts/partials/post_nav_links.html')
-rw-r--r-- | themes/PaperMod/layouts/partials/post_nav_links.html | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/themes/PaperMod/layouts/partials/post_nav_links.html b/themes/PaperMod/layouts/partials/post_nav_links.html deleted file mode 100644 index b988641..0000000 --- a/themes/PaperMod/layouts/partials/post_nav_links.html +++ /dev/null @@ -1,19 +0,0 @@ -{{- $pages := where site.RegularPages "Type" "in" site.Params.mainSections }} -{{- if and (gt (len $pages) 1) (in $pages . ) }} -<nav class="paginav"> - {{- with $pages.Next . }} - <a class="prev" href="{{ .Permalink }}"> - <span class="title">« {{ i18n "prev_page" }}</span> - <br> - <span>{{- .Name -}}</span> - </a> - {{- end }} - {{- with $pages.Prev . }} - <a class="next" href="{{ .Permalink }}"> - <span class="title">{{ i18n "next_page" }} »</span> - <br> - <span>{{- .Name -}}</span> - </a> - {{- end }} -</nav> -{{- end }} |