Range inside an if statement returns nothing

Got it! It has to be {{ range where .Site.Pages "Section" "store" }} thanks to @Mikhail Content Organization: Building a List Template that handles Multi-level subdirectories - #10 by Mikhail

1 Like