chore: more complete spec and more aligned with plan

This commit is contained in:
2026-04-05 10:33:49 +02:00
parent dafe7a5357
commit 7c6b19af07
9 changed files with 58 additions and 97 deletions

View File

@@ -227,7 +227,7 @@ invariant TemplateLookupPriority {
-- 4. Default "post" template
--
-- List pages use "list" template
-- 404 pages use "not-found" template
-- 404 pages use "not_found" template
-- Partials are referenced via {% render 'partial' %}
}
@@ -257,7 +257,7 @@ rule RenderListPage {
rule RenderNotFoundPage {
when: RenderNotFoundPageRequested()
let template = first (t in Templates where t.kind = "not-found" and t.enabled)
let template = first (t in Templates where t.kind = "not_found" and t.enabled)
let context = BuildNotFoundContext
ensures: RenderedHtml = liquid_render(template.content, context)
}