Range where .Site.Pages "Section" "blog" includes the folder itself


#1

Hello,

I only want to range the blog post in the folder blog in content, but it adds an additional item “blogs” which is the folder name with an “s” added at the end. It links to the default list template.

Anyway to exclude this?


#2

So, a couple things:

  1. The blog you see is the section name. Change pluralizeListTitles to false in your site configuration.
  2. If you don’t want index pages use .Site.RegularPages rather than .Site.Pages.

HTH.


#3

Thank you so much! I don’t see anywhere in the doc this explained…It doesn’t talk about remove the first link or anything like that?

Maybe I’m not looking correctly?

Thanks!