Skip to content

Listing page tries to list documents disabled in _quarto.yml #14648

Description

@cderv

Discussed in https://github.com/orgs/quarto-dev/discussions/14644

Originally posted by royfrancis July 2, 2026

Description

When a qmd is disabled in _quarto.yml, the listing page still tries to list it with this warning:

WARN: File listing/test.qmd in the listing 'listing' contains no metadata.

And the listing page looks a bit broken. The disabled post is rendered on the listing page as an empty bordered container with no content.

Disabled post is rendered on the listing page as an empty bordered container with no content.
▸ quarto --version
1.9.38

More details:
I have a directory setup like this:

.
├── _quarto.yml
├── index.qmd
├── listing.qmd
└── test.qmd

_quarto.yml

project: 
  type: website
  render: 
    - "*.qmd"
    - "!test.qmd"

listing.qmd

---
title: "Listing"
listing:
  type: grid
  contents:
    - "*.qmd"
---

index.qmd

---
title: "Home"
---

This is the home page.

test.qmd

---
title: "Test page"
---

This is a test page.
```</div>

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinglistings

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions