mirror of
				https://github.com/gohugoio/hugo.git
				synced 2024-05-11 05:54:58 +00:00 
			
		
		
		
	
		
			
				
	
	
	
		
			1.2 KiB
		
	
	
	
	
	
	
	
			
		
		
	
	
			1.2 KiB
		
	
	
	
	
	
	
	
- A regular page is a "post" page or a "content" page.
- A leaf bundle is a regular page.
 
 - A list page can list regular pages and other list pages. Some
examples are: homepage, section pages, taxonomy (
/tags/) and term (/tags/foo/) pages.- A branch bundle is a list page.
 
 
.Site.Pages- Collection of all pages of the site: regular pages, sections, taxonomies, etc. -- Superset of everything!
 .Site.RegularPages- Collection of only regular pages.
 
The above .Site. .. page collections can be accessed from any scope in
the templates.
Below variables return a collection of pages only from the scope of the current list page:
.Pages- Collection of regular pages and only first-level section pages under the current list page.
 .RegularPages- Collection of only regular pages under the
current list page. This excludes regular pages in nested sections/list pages (those are subdirectories with an 
_index.mdfile. .RegularPagesRecursive- {{< new-in "0.68.0" >}} Collection of all regular pages under a list page. This includes regular pages in nested sections/list pages.
 - Note
 - From the scope of regular pages, 
.Pagesand.RegularPagesreturn an empty slice.