mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2025-05-31 23:08:24 -04:00
Changed layouts/partials/post_nav_links.html to show PostNavLinks on all pages in all sub-directories of /content directory.
This commit is contained in:
parent
72615b6d49
commit
b7145036ad
1 changed files with 1 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
{{- $pages := where site.RegularPages "Type" "in" site.Params.mainSections }}
|
||||
{{- $pages := where site.RegularPages "Section" .Section }}
|
||||
{{- if and (gt (len $pages) 1) (in $pages . ) }}
|
||||
<nav class="paginav">
|
||||
{{- with $pages.Next . }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue