Cactus Theme: Remove about page from homepage posts list

Hi,
I’m using the cactus theme. My folder structure looks like this

├── config.toml
├── content
│   ├── about
│   │   └── index.md
│   └── posts
│       └── first-post.md

and my config file like this:

baseURL = "xxx"
languageCode = "en-us"
title = "xxxx"
theme = "cactus"


[[menu.main]]
name = "Home"
url = "/posts"
weight = 1

[[menu.main]]
name = "All posts"
url = "/posts"
weight = 2

[[menu.main]]
name = "About"
url = "/about"
weight = 3

When I’m on the start page I have 2 articles listed under writings:

Writings

  • 2020-11-01: About
  • 2020-10-30: My first article

I don’t want the about page to be listed there! How can I remove it from the Writings list?

EDIT:
Also adding this did not solve it.

[params]
  mainSection = "posts"

The variable is called mainSections you missed the final s.

If that doesn’t fix the issue, I suggest that you look into creating a filtered post list on the homepage template i.e. themes/cactus/index.html

See: collections.Where | Hugo

No that does not fix it. The documentation on cactus states mainSection. But neither worked.

There is no mainSection variable in Hugo.

Perhaps that is a custom variable that the theme author has created. Your question is theme specific.

I suggest that you ask directly in the theme repo.

Also please have a look at the forum Requesting Help guidelines.

It’s a known issue in that theme: