Add pages collections
ci/woodpecker/push/woodpecker Pipeline was successful Details

This commit is contained in:
nicholas 2024-03-05 21:37:32 +00:00
parent a6813d1678
commit f3b31abc66
5 changed files with 12 additions and 6 deletions

View File

@ -1,5 +1,5 @@
<!-- docs/_sidebar.md --> <!-- docs/_sidebar.md -->
* [HOME](README.md) * [HOME](README.md)
* [Page1](Page1.md) * [Page1](pages/Page1.md)
* [Page2](Page2.md) * [Page2](pages/Page2.md)
* [Page3](Page3.md) * [Page3](pages/Page3.md)

View File

@ -26,8 +26,8 @@ media_folder: "assets/images"
collections: collections:
- label: "Pages" - label: "Navigation"
name: Pages name: Navig
files: files:
- label: "Landing Page" - label: "Landing Page"
name: Landing name: Landing
@ -38,4 +38,10 @@ collections:
name: Sidebar name: Sidebar
file: "_sidebar.md" file: "_sidebar.md"
fields: fields:
- {label: Intro, name: intro, widget: markdown} - { label: 'Body', name: 'body', widget: 'markdown' }
- label: "Pages"
name: Content
folder: "pages"
create: true
fields:
- {label: "Body", name: "body", widget: "markdown"}