I have posts in /content/blog/news/abc.md. Inside blog, I have several folders similar to news (nested sections) with their own posts and _index.md files. I have one subsection named dictum that I would like to exclude its posts on one page. I have title: dictum added to the index file. I tried the code below but it returns a blank page. What’s the correct way to filter this out?
{{ $sections := ( site.GetPage "section" .Section).Sections }}
{{ $page := where $sections "Title" "!=" "dictum" }}
{{ range (.Paginate $page).Pages }}
<li><a href="{{ .Permalink }}">{{ .Title }}</a></li>
{{ end }}