Skip to content
GitHub
Sections

Reference · Things to avoid

A list served as a fact when it is empty

Forbidden
A sitemap that renders with no entries because a content read failed, asserting the site has nothing
Instead
Concatenate the static routes unconditionally, and let a failed read yield the stale list rather than an empty one. When a list is genuinely empty, prove it before shipping.

What this rule looks like

Forbidden
Instead

Why this rule

An empty sitemap is not a missing sitemap. It is a positive claim, and the crawler believes it.

Kind
Rule
Section
Things to avoid
Group
Search and sharing
Bucket
judgment
Severity
note
Since
v0.14.0

Read as plain text