mirror of
				https://github.com/Wonderfall/hugo-WonderMod.git
				synced 2025-10-31 03:45:24 +01:00 
			
		
		
		
	Allow selective disabling of PostNavLinks in front matter (#279)
This commit is contained in:
		| @@ -44,7 +44,7 @@ | |||||||
|       {{- end }} |       {{- end }} | ||||||
|     </ul> |     </ul> | ||||||
|     {{- end }} |     {{- end }} | ||||||
|     {{- if .Site.Params.ShowPostNavLinks }} |     {{- if (.Param "ShowPostNavLinks") }} | ||||||
|     {{- $pages := where site.RegularPages "Type" "in" site.Params.mainSections }} |     {{- $pages := where site.RegularPages "Type" "in" site.Params.mainSections }} | ||||||
|     {{- if and (gt (len $pages) 1) (in $pages . ) }} |     {{- if and (gt (len $pages) 1) (in $pages . ) }} | ||||||
|     <nav class="paginav"> |     <nav class="paginav"> | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Brian
					Brian