From 0d6cd9b4271cacf9a1ed59a7653065ff10fbae5d Mon Sep 17 00:00:00 2001 From: nicholas Date: Tue, 5 Mar 2024 22:24:57 +0000 Subject: [PATCH] Fix folder collection --- site/admin/config.yml | 2 +- site/pages/Page1.md | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/site/admin/config.yml b/site/admin/config.yml index 73b5ed1..6f87d71 100644 --- a/site/admin/config.yml +++ b/site/admin/config.yml @@ -44,5 +44,5 @@ collections: folder: "site/pages" create: true fields: - - {label: "Title", name: "title", widget: "hidden"} + - {label: "Title", name: "title", widget: "string"} - {label: "Body", name: "body", widget: "markdown"} diff --git a/site/pages/Page1.md b/site/pages/Page1.md index 245ae38..34473ae 100644 --- a/site/pages/Page1.md +++ b/site/pages/Page1.md @@ -1,5 +1 @@ ---- -"0": P -"1": "1" ---- This is page one