enable page creation in the CMS (create: true) + dynamic nav (import.meta.glob over src/pages)

This commit is contained in:
kpgarrod committed 2026-11-21 08:32:35 +01:00
1 parent 3ac81d5a52
commit 95af7107d0
3 files changed
+14 -8

No files matched your search

+2 -2
View File
@@ -31,8 +31,8 @@ collections:
folder: /src/pages
extension: md
format: yaml-frontmatter
create: false # the fixed page set; the site nav is static
delete: false # removing a page would break the nav mid-build
create: true # pages land in src/pages and appear in the nav (it is built from this folder)
delete: false # a page (the Home page above all) cannot be deleted from the CMS
slug: "{{slug}}"
identifier_field: title
summary: "{{title}}"