From e9b05525e486ae0edb085c05a98a6b0149a462a0 Mon Sep 17 00:00:00 2001 From: brooke Date: Wed, 31 Jul 2024 16:23:01 -0400 Subject: [PATCH] CMS update --- static/admin/config.yml | 80 +++++++++++++++++++++++++++++++++++++++++ static/admin/index.html | 15 ++++++++ 2 files changed, 95 insertions(+) create mode 100644 static/admin/config.yml create mode 100644 static/admin/index.html diff --git a/static/admin/config.yml b/static/admin/config.yml new file mode 100644 index 0000000..787e8fb --- /dev/null +++ b/static/admin/config.yml @@ -0,0 +1,80 @@ +--- +theme: + default_theme: dark +backend: + name: gitea + repo: mycosystems/midtowndrafting.com.com + app_id: f3feaf2a-3ba5-4edc-97b5-63689061f5fe + api_root: https://git.myco.systems/api/v1 + base_url: https://git.myco.systems +disable_local_backup: true + +public_folder: "/images" +media_folder: "static/images" +media_library: + folder_support: true + max_file_size: 2000 + +site_url: https://midtowndrafting.com +logo_url: https://midtowndrafting.com/images/White-M.svg +locale: en +show_preview_links: false +search: false +collections: + - name: pages + label: Pages + preview: false + files: + - name: about + label: About + preview: false + file: content/about/index.md + fields: + - label: Title + name: title + widget: string + - label: Table of Contents + name: toc + widget: boolean + - label: Body + name: body + widget: code + - name: home + label: Home + preview: false + file: content/_index.md + fields: + - label: Title + name: title + widget: string + - label: Layout Type + name: layout + widget: string + - label: Body + name: body + widget: code + - name: docs + label: Documentation + folder: content/docs + create: true + fields: + - label: Title + name: title + widget: string + - label: Body + name: body + widget: code + - name: classes + label: Classes + folder: content/classes + create: true + fields: + - label: Title + name: title + widget: string + - label: Link Title + name: linkTitle + widget: string + - label: Body + name: body + widget: code \ No newline at end of file diff --git a/static/admin/index.html b/static/admin/index.html new file mode 100644 index 0000000..fd13e52 --- /dev/null +++ b/static/admin/index.html @@ -0,0 +1,15 @@ + + + + + + + Content Manager + + + + + +