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:
		
							parent
							
								
									0a0d756671
								
							
						
					
					
						commit
						95e6bf1e13
					
				|  | @ -10,7 +10,7 @@ | ||||||
| </header> | </header> | ||||||
| {{- end }} | {{- end }} | ||||||
| 
 | 
 | ||||||
| {{- $pages := .RegularPages }} | {{- $pages := union .RegularPages .Sections }} | ||||||
| 
 | 
 | ||||||
| {{- if .IsHome }} | {{- if .IsHome }} | ||||||
| {{- $pages = where site.RegularPages "Type" "in" site.Params.mainSections }} | {{- $pages = where site.RegularPages "Type" "in" site.Params.mainSections }} | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue
	
	 Aditya Telange
						Aditya Telange