Skip to main content
Version: Next

KQP004 — one file per page

Error · one-file-per-page · Page files

A page has one file: no two sibling files for names that differ only in case or composition, or for one name under two extensions.

A page has two files. Two sibling files have names that differ only in case or in how a character is composed, or one name is written under two of .page.yml, .page.yaml, .page.md and .adr.md. The finding is on the later file in path order, which the site leaves out of the page tree. Rename that file if the two are different pages, or delete it if they are one page.

Examples​

Beside the Checkout page's Checkout.page.yml, a Checkout.page.md is a second file for one page, so it raises KQP004:

portal/Home/Selling/Checkout.page.md
---
description: Taking back what a shopper returns.
icon: undo-2
---

A shopper may send an item back within 30 days of delivery.

Named for the page it is, Returns.page.md, it raises nothing:

portal/Home/Selling/Returns.page.md
---
description: Taking back what a shopper returns.
icon: undo-2
---

A shopper may send an item back within 30 days of delivery.

© 2026 Extenza Works. All rights reserved.