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

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?

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.

2 Likes

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!