Can I get sub directory section?

Trying to grab my regularpages selection from a sub directory: content/media/blogs but I cannot get this code to work {{ $paginator := .Paginate (where site.RegularPages "Section" "media/blogs" ) }}

I’m doing it this way so I can dynamically drive my pages. I would like this {{ $paginator := .Paginate (where site.RegularPages "Section" "==" .File.Dir ) }}

See this topic for a way to paginate Nested Sections:

This topic was automatically closed after 22 hours. New replies are no longer allowed.