From 41261c104209ef3a6f794ea7d2b9b86d398c9d2a Mon Sep 17 00:00:00 2001 From: RayyanM <75566336+rayyanmm@users.noreply.github.com> Date: Thu, 28 Nov 2024 16:33:34 +0300 Subject: [PATCH] Delete public/admin directory --- public/admin/config.yml | 43 ----------------------------------------- public/admin/index.html | 18 ----------------- 2 files changed, 61 deletions(-) delete mode 100644 public/admin/config.yml delete mode 100644 public/admin/index.html diff --git a/public/admin/config.yml b/public/admin/config.yml deleted file mode 100644 index 275e4a5..0000000 --- a/public/admin/config.yml +++ /dev/null @@ -1,43 +0,0 @@ -backend: - name: github - repo: rayyanmm/hugofishlite - branch: main # Branch to update (optional; defaults to master) - base_url: https://hugolitefish.pages.dev/ - auth_endpoint: /api/auth -media_folder: static/img -# in case the public route is different, otherwise automatic -public_folder: /img -collections: - ######################## - # POSTS COLLECTION - ######################## - - name: "posts" - label: "Posts" - folder: "content/posts" - path: "{{year}}-{{month}}-{{day}}-{{title}}/index" - media_folder: "" - public_folder: "" - create: true - slug: "index" - # Nested can be used for deeper than 2 layers of folders - # nested: - # depth: 100 # max depth to show in the collection tree - # summary: '{{title}}' # optional summary for a tree node, defaults to the inferred title field - editor: - preview: false - fields: - # - { label: "Layout", name: "layout", widget: "hidden", default: "post" } - - { label: "Title", name: "title", widget: "string" } - - { label: "Summary", name: "summary", widget: "string" } - # - { label: "Description", name: "description", widget: "string" } - - { - label: "Authors", - name: "authors", - widget: "select", - multiple: true, - options: ["bob", "jane", "peter", "kate"], - } - - { label: "Date", name: "date", widget: "datetime" } - - { label: "Draft", name: "draft", widget: "boolean", default: true } - - { label: "Cover Image", name: "image", widget: "image" } - - { label: "Body", name: "body", widget: "markdown" } diff --git a/public/admin/index.html b/public/admin/index.html deleted file mode 100644 index f8d8484..0000000 --- a/public/admin/index.html +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - - Content Manager - - - - - - -