quarto-dev / quarto-dev/quarto-cli

Listing page tries to list documents disabled in _quarto.yml

Open
#14,648 2 comments 0 reactions 1 assignee View on GitHub

@cderv is already working on this.

Since Jul 3, 2026.

bug listings
Dominant language
JavaScript
Stars
6k
Forks
458
Avg merge
1d 9h
Merged PRs (30d)
41

Description

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>

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.