CMS update
All checks were successful
Hugo / build (push) Successful in 12s

This commit is contained in:
brooke 2024-07-31 16:23:01 -04:00
parent fc195dc1b7
commit e9b05525e4
2 changed files with 95 additions and 0 deletions

80
static/admin/config.yml Normal file
View file

@ -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

15
static/admin/index.html Normal file
View file

@ -0,0 +1,15 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="https://unpkg.com/@staticcms/app@^4.0.0/dist/main.css" />
<title>Content Manager</title>
</head>
<body>
<script src="https://unpkg.com/@staticcms/app@^4.0.0/dist/static-cms-app.js"></script>
<script>
window.CMS.init();
</script>
</body>
</html>