Merge pull request #6 from adamsullovey/fix-list-pages-not-filtering
fix list page filtering
This commit is contained in:
		
						commit
						2f154564a1
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -1,10 +1,10 @@
 | 
			
		|||
{{ partial "header.html" . }}
 | 
			
		||||
	<main>
 | 
			
		||||
		{{ $paginator := .Paginate (where .Site.Pages "Type" "post") }}
 | 
			
		||||
		{{ $paginator := .Paginate (where .Data.Pages "Type" "post") }}
 | 
			
		||||
		{{ range $paginator.Pages }}
 | 
			
		||||
			{{ partial "summary.html" . }}
 | 
			
		||||
		{{ end }}
 | 
			
		||||
		{{ partial "pagination.html" . }}
 | 
			
		||||
	</main>
 | 
			
		||||
{{ partial "sidebar.html" . }}
 | 
			
		||||
{{ partial "footer.html" . }}
 | 
			
		||||
{{ partial "footer.html" . }}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue