Do not display articles on the home of a specific folder

Hello, I’m new to using Hugo :slight_smile:

I use the slim (https://themes.gohugo.io/slim/) theme and I want to do the following:

I want to make a list page with a set of markdown content, but I don’t want these contents to be displayed on the home.
For example: mywebsite.com/folder1 displays all content but not in the home.

Currently I have done this but it doesn’t work:
in the content folder I have a post folder in which I made a folder calledfolder1. But the .md files are displayed in the home and I don’t want to. So how can you not display the articles in this folder only on the home?

Thank you for your help.
Nicolas

That line decides what is shown on that page. So you’ll need to decide what you actually want to show on the front page, and then limit the where to those pieces of content. Check the examples at https://gohugo.io/functions/where/ for inspiration. :slight_smile:

Thank you very much! I used this and everything works:

{{ $paginator := .Paginate (where .Site.Pages "Params.series" "homepage") }} {{ range $paginator.Pages }}