Range .Site.Pages for a specific list

So say i have content folders filled with pages,
what if i want on my single page to list out all of my pages contained in one of those folders.

I know you can range all pages with .Site.RegularPages
But is there a way to give it a certain folder to look into and only write out those pages contained there?

So your content folder has multiple subfolders within it? This is what I do in my RSS template to only include posts in my content/notes/ folder, for example:

{{ range (where .Site.RegularPages "Section" "notes") }}
  ...
  {{ .Content }}
  ...
{{ end }}

More info on sections:

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.