List all pages under a sub-section folder

Thanks. And it seems that Leo’s methods don’t work. I finally came out a tricky way to have this down.
I added a where function to filter the pages listed:
{{ range where .Pages "File.Dir" "in" "/cn/post/" }}
Really hope the next release will make this easier.

Thanks.

4 Likes