Skip to content

Issue: How to exclude folders/files? #971

@AdriandeLima

Description

@AdriandeLima

Describe the bug
I add \adriandelima.github.io\content\blog\ as the content folder, expecting only blog posts in that folder (and any other content folders I might manually add later) to show up. However, every editable text file in the project's root \adriandelima.github.io\ appears as "content" and clutters the Contents page with e.g. Readme.md and the contents of \adriandelima.github.io\themes\MyThemeName\exampleSite\Content. Shouldn't unselected folders be excluded by default?

To Reproduce
Steps to reproduce the behavior:

  1. Create a new Hugo site with a theme. Your theme probably includes an \exampleSite\ folder with example articles.
  2. Set a subfolder as your FrontMatter content folder, and make some sample contents. Also create a Readme.
  3. View the Contents page in FrontMatter
  4. You will see not just the articles in your content folder, but your Readme and exampleSite stuff as noise in your Contents page.

Expected behavior
Only the contents of the contents folder should be visible, as that was the only folder selected.

Device:

  • OS: macOS
  • Front Matter CMS Version [e.g. 10.2.0]: latest as of Aug 2025
  • Browser [e.g. chrome, safari]: Firefox LTS

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions