From 1301424691390eda5b15c156587ed16b46cb78e7 Mon Sep 17 00:00:00 2001 From: nicholas Date: Tue, 5 Mar 2024 18:57:36 +0000 Subject: [PATCH] Add pages --- site/Page1.md | 1 + site/Page2.md | 1 + site/Page3.md | 1 + site/README.md | 3 --- site/_sidebar.md | 4 ++++ site/admin/config.yml | 5 ++++- site/assets/images/.keep | 0 7 files changed, 11 insertions(+), 4 deletions(-) create mode 100644 site/Page1.md create mode 100644 site/Page2.md create mode 100644 site/Page3.md create mode 100644 site/_sidebar.md create mode 100644 site/assets/images/.keep diff --git a/site/Page1.md b/site/Page1.md new file mode 100644 index 0000000..34473ae --- /dev/null +++ b/site/Page1.md @@ -0,0 +1 @@ +This is page one diff --git a/site/Page2.md b/site/Page2.md new file mode 100644 index 0000000..99c7d74 --- /dev/null +++ b/site/Page2.md @@ -0,0 +1 @@ +This is page two diff --git a/site/Page3.md b/site/Page3.md new file mode 100644 index 0000000..065ee2f --- /dev/null +++ b/site/Page3.md @@ -0,0 +1 @@ +This is page three - yay diff --git a/site/README.md b/site/README.md index a517673..4cf8a0b 100644 --- a/site/README.md +++ b/site/README.md @@ -1,4 +1 @@ ---- -intro: This is not a test, this is rock and roll ---- This is not a test, this is rock and roll diff --git a/site/_sidebar.md b/site/_sidebar.md new file mode 100644 index 0000000..0c68035 --- /dev/null +++ b/site/_sidebar.md @@ -0,0 +1,4 @@ +* [HOME](README.md) +* [Page1](Page1.md) +* [Page2](Page2.md) +* [Page3](Page3.md) diff --git a/site/admin/config.yml b/site/admin/config.yml index 661dee6..ea93759 100644 --- a/site/admin/config.yml +++ b/site/admin/config.yml @@ -30,7 +30,10 @@ collections: name: Pages files: - label: "Landing Page" - name: readme file: "site/README.md" fields: - {label: Intro, name: intro, widget: markdown} + - label: "Sidebar" + file: "site/_sidebar.md" + fields: + - {label: Intro, name: intro, widget: markdown} diff --git a/site/assets/images/.keep b/site/assets/images/.keep new file mode 100644 index 0000000..e69de29