docs: a dedicated template must not render less than the fallback it replaces

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
chrnxandClaude Opus 5 committed 2026-08-15 14:37:24 -05:00
1 parent 847f399886
commit c2f6ba7752
1 file changed
+4
@@ -782,6 +782,8 @@ Expected: FAIL, both templates missing.
This repairs the gap named in the spec: shows currently fall through to the generic archive and never render their own detail.
`journal-stream` and `subscribe-cta` are NOT optional here. The fallback this template overrides is `templates/archive.html`, which contains both, so a show archive today does list its episodes. A dedicated template carrying only `show-links` would render a title and whitespace whenever a show has no platform URLs — strictly worse than the fallback it replaces. A template that renders less than what it overrides is a regression, not a repair.
```html
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
@@ -789,6 +791,8 @@ This repairs the gap named in the spec: shows currently fall through to the gene
<main id="chrnx-main" class="wp-block-group chrnx-archive chrnx-show-archive" tabindex="-1">
<!-- wp:query-title {"type":"archive","level":1,"showPrefix":false} /-->
<!-- wp:chrnx/show-links /-->
<!-- wp:chrnx/journal-stream /-->
<!-- wp:chrnx/subscribe-cta {"className":"is-style-quiet"} /-->
</main>
<!-- /wp:group -->