From 722734f98e05b3f89f7973cee040ef3615a98cc5 Mon Sep 17 00:00:00 2001 From: Nicholas Horwood Date: Tue, 5 Mar 2024 10:15:02 +0000 Subject: [PATCH] Attempt to add Decap CMS --- site/README.md | 1 + site/admin/config.yml | 22 ++++++++++++++++++++++ site/admin/index.html | 13 +++++++++++++ site/index.html | 23 +++++++++++++++++++++++ 4 files changed, 59 insertions(+) create mode 100644 site/README.md create mode 100644 site/admin/config.yml create mode 100644 site/admin/index.html create mode 100644 site/index.html diff --git a/site/README.md b/site/README.md new file mode 100644 index 0000000..4cf8a0b --- /dev/null +++ b/site/README.md @@ -0,0 +1 @@ +This is not a test, this is rock and roll diff --git a/site/admin/config.yml b/site/admin/config.yml new file mode 100644 index 0000000..546a24f --- /dev/null +++ b/site/admin/config.yml @@ -0,0 +1,22 @@ +backend: + name: gitea + repo: nicholas/docsify # Path to your Gitea repository + app_id: 33acc7a8-da11-4fce-acd5-970ff5c9bad3 # The Client ID provided by Gitea + api_root: https://gitea.bigyellowfish.com/api/v1 # API URL of your Gitea instance + base_url: https://gitea.bigyellowfish.com # Root URL of your Gitea instance + auth_endpoint: https://gitea.bigyellowfish.com/login/oauth/authorize + # optional, defaults to master + # branch: main +media_folder: "assets/images" +site_url: https://docs.bigyellowfish.com + + +collections: + - label: "Pages" + name: Pages + files: + - label: "Landing Page" + name: readme + file: "site/README.md" + fields: + - {label: Intro, name: intro, widget: markdown} diff --git a/site/admin/index.html b/site/admin/index.html new file mode 100644 index 0000000..790f7a8 --- /dev/null +++ b/site/admin/index.html @@ -0,0 +1,13 @@ + + + + + + + Content Manager + + + + + + diff --git a/site/index.html b/site/index.html new file mode 100644 index 0000000..8ee906c --- /dev/null +++ b/site/index.html @@ -0,0 +1,23 @@ + + + + + + + + + + + +
+ + + +