From f5decbed31ddba206e3b05a884858f36e8b88a7a Mon Sep 17 00:00:00 2001 From: Nick Lamicela Date: Sat, 14 Dec 2024 22:45:29 +0000 Subject: [PATCH] install decap --- public/admin/config.yml | 25 +++++++++++++++++++++++++ public/admin/index.html | 14 ++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 public/admin/config.yml create mode 100644 public/admin/index.html diff --git a/public/admin/config.yml b/public/admin/config.yml new file mode 100644 index 0000000..8f5bac2 --- /dev/null +++ b/public/admin/config.yml @@ -0,0 +1,25 @@ +backend: + name: gitea + repo: nycki/nycki.net + app_id: acac8250-0f2d-49c7-a95f-f453ed3ce2ba + api_root: https://git.nycki.net/api/v1 + base_url: https://git.nycki.net + auth_endpoint: https://git.nycki.net/login/oauth/authorize + branch: main + +media_folder: "public/a" + +collections: + - name: "blog" + label: "blog" + folder: "content/blog" + create: true + slug: "{{year}}-{{month}}-{{day}}-{{slug}}" + fields: + - { label: 'date', name: 'date', widget: 'datetime' } + - { label: 'title', name: 'title', widget: 'string' } + - { label: 'description', name: 'description', widget: 'string' } + - { label: 'tags', name: 'tags', widget: 'list' } + - { label: 'draft', name: 'draft', widget: 'boolean' } + - { label: 'body', name: 'body', widget: 'markdown' } + diff --git a/public/admin/index.html b/public/admin/index.html new file mode 100644 index 0000000..7143bdb --- /dev/null +++ b/public/admin/index.html @@ -0,0 +1,14 @@ + + + + + + + Content Manager + + + + + + +