From 0fcb393275fe8e7ea3ad56bbab8882596985d7e5 Mon Sep 17 00:00:00 2001 From: suroh Date: Thu, 26 Oct 2023 12:31:51 +0200 Subject: [PATCH] removed backend admin thing --- _includes/base.njk | 18 ------------------ admin/config.yml | 45 --------------------------------------------- admin/index.html | 18 ------------------ 3 files changed, 81 deletions(-) delete mode 100644 admin/config.yml delete mode 100644 admin/index.html diff --git a/_includes/base.njk b/_includes/base.njk index b0190fe..2790ea6 100644 --- a/_includes/base.njk +++ b/_includes/base.njk @@ -9,22 +9,16 @@ - - - - - -
{% include 'nav.njk' %} @@ -32,16 +26,4 @@ {% block footer %}{% endblock %}
- - diff --git a/admin/config.yml b/admin/config.yml deleted file mode 100644 index f79ad71..0000000 --- a/admin/config.yml +++ /dev/null @@ -1,45 +0,0 @@ -backend: - name: gitea - repo: suroh/work.suroh.tk - app_id: 7bfaec5d-9c01-49bc-8c3c-d38ad5c7b16a - api_root: https://git.suroh.tk/api/v1 - base_url: https://git.suroh.tk - site_domain: work.suroh.tk - branch: main -media_folder: "assets/media" -public_folder: "/assets/media" - # Please run "npx netlify-cms-proxy-server" for local backend -local_backend: false -collections: - - label: "work" - name: "work" - folder: "_content/work" - create: true - fields: - - { label: "title", name: "title", widget: "string" } - - { label: "layout", name: "layout", widget: "hidden", default: "page.njk" } - - { label: "body", name: "body", widget: "markdown" } - - { label: "feature image", name: "imgFeat", widget: "image", media_folder: "images" } - - { label: "gallery", name: "gallery", widget: "image", allow_multiple: true, media_folder: "images" } - - label: "audio" - name: "audio" - folder: "_content/audio" - create: true - fields: - - { label: "title", name: "title", widget: "string" } - - { label: "layout", name: "layout", widget: "hidden", default: "page.njk" } - - { label: "body", name: "body", widget: "markdown" } - - { label: "feature image", name: "imgFeat", widget: "image", media_folder: "images" } - - { label: "gallery", name: "gallery", widget: "image", allow_multiple: true, media_folder: "images" } - - label: "Settings" - name: "settings" - editor: - preview: false - files: - - label: "Meta Settings" - name: "settings" - file: "src/_data/settings.yaml" - fields: - - { label: Name, name: name, widget: string } - - { label: Author, name: author, widget: string } - - { label: URL, name: url, widget: string } diff --git a/admin/index.html b/admin/index.html deleted file mode 100644 index bbe8d7e..0000000 --- a/admin/index.html +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - - Content Manager - - - - - - - - - -