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?
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.