mirror of
				https://github.com/Wonderfall/hugo-WonderMod.git
				synced 2025-10-31 19:55:24 +01:00 
			
		
		
		
	list: show nested sections
* shows links to section if _index.md is present * by this sub-sections can be distinguished properly * more about this and way to implement: https://gohugo.io/content-management/organization/#index-pages-_indexmd
This commit is contained in:
		| @@ -10,7 +10,7 @@ | ||||
| </header> | ||||
| {{- end }} | ||||
|  | ||||
| {{- $pages := .RegularPages }} | ||||
| {{- $pages := union .RegularPages .Sections }} | ||||
|  | ||||
| {{- if .IsHome }} | ||||
| {{- $pages = where site.RegularPages "Type" "in" site.Params.mainSections }} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Aditya Telange
					Aditya Telange