diff --git a/admin/config.yml b/admin/config.yml index 2ef9326..d2dd414 100644 --- a/admin/config.yml +++ b/admin/config.yml @@ -1,89 +1,70 @@ backend: name: gitea - repo: firefrost-gaming/firefrost-website + repo: firefrost-gaming/firefrost-operations-manual api_root: https://git.firefrostgaming.com/api/v1 base_url: https://git.firefrostgaming.com app_id: ad439d72-e724-4f88-ad24-a1187c52b313 use_pkce: true - branch: main + branch: master auth_endpoint: login/oauth/authorize token_endpoint: login/oauth/access_token -# Media settings for Eleventy -media_folder: "assets/images/uploads" -public_folder: "/assets/images/uploads" - # Site settings site_url: https://firefrostgaming.com display_url: https://firefrostgaming.com logo_url: https://firefrostgaming.com/assets/images/logo.png +# Optional: Where to save images if they upload any to docs +media_folder: "docs/assets/images" +public_folder: "/assets/images" + collections: - - name: "pages" - label: "Pages" + # 1. STANDALONE FILES (The Dashboard) + - name: "core_docs" + label: "Core Documents" files: - - label: "About" - name: "about" - file: "about.njk" - extension: "njk" - format: "yaml-frontmatter" + - label: "Next Session Handoff" + name: "handoff" + file: "SESSION-HANDOFF-NEXT.md" fields: - - {label: "Layout", name: "layout", widget: "hidden", default: "layouts/base.njk"} - {label: "Title", name: "title", widget: "string"} - - {label: "Description", name: "description", widget: "string"} - - {label: "Body", name: "body", widget: "code", default_language: "html", output_code_only: true} + - {label: "Content", name: "body", widget: "markdown"} + + - label: "Master Task List" + name: "tasks" + file: "docs/core/tasks.md" + fields: + - {label: "Title", name: "title", widget: "string"} + - {label: "Tasks", name: "body", widget: "markdown"} - - label: "Servers" - name: "servers" - file: "servers.njk" - extension: "njk" - format: "yaml-frontmatter" - fields: - - {label: "Layout", name: "layout", widget: "hidden", default: "layouts/base.njk"} - - {label: "Title", name: "title", widget: "string"} - - {label: "Description", name: "description", widget: "string"} - - {label: "Body", name: "body", widget: "code", default_language: "html", output_code_only: true} + # 2. FOLDER COLLECTIONS (Dynamic Lists) + - name: "planning" + label: "Planning Docs" + folder: "docs/planning" + create: true + extension: "md" + format: "yaml-frontmatter" + fields: + - {label: "Title", name: "title", widget: "string"} + - {label: "Date", name: "date", widget: "datetime"} + - {label: "Content", name: "body", widget: "markdown"} - - label: "Subscribe" - name: "subscribe" - file: "subscribe.njk" - extension: "njk" - format: "yaml-frontmatter" - fields: - - {label: "Layout", name: "layout", widget: "hidden", default: "layouts/base.njk"} - - {label: "Title", name: "title", widget: "string"} - - {label: "Description", name: "description", widget: "string"} - - {label: "Body", name: "body", widget: "code", default_language: "html", output_code_only: true} + - name: "milestones" + label: "Milestones" + folder: "docs/milestones" + create: true + extension: "md" + format: "yaml-frontmatter" + fields: + - {label: "Title", name: "title", widget: "string"} + - {label: "Content", name: "body", widget: "markdown"} - - label: "Contact" - name: "contact" - file: "contact.njk" - extension: "njk" - format: "yaml-frontmatter" - fields: - - {label: "Layout", name: "layout", widget: "hidden", default: "layouts/base.njk"} - - {label: "Title", name: "title", widget: "string"} - - {label: "Description", name: "description", widget: "string"} - - {label: "Body", name: "body", widget: "code", default_language: "html", output_code_only: true} - - - label: "Terms of Service" - name: "terms" - file: "terms.njk" - extension: "njk" - format: "yaml-frontmatter" - fields: - - {label: "Layout", name: "layout", widget: "hidden", default: "layouts/base.njk"} - - {label: "Title", name: "title", widget: "string"} - - {label: "Description", name: "description", widget: "string"} - - {label: "Body", name: "body", widget: "code", default_language: "html", output_code_only: true} - - - label: "Privacy Policy" - name: "privacy" - file: "privacy.njk" - extension: "njk" - format: "yaml-frontmatter" - fields: - - {label: "Layout", name: "layout", widget: "hidden", default: "layouts/base.njk"} - - {label: "Title", name: "title", widget: "string"} - - {label: "Description", name: "description", widget: "string"} - - {label: "Body", name: "body", widget: "code", default_language: "html", output_code_only: true} + - name: "implementation" + label: "Implementation Guides" + folder: "docs/implementation" + create: true + extension: "md" + format: "yaml-frontmatter" + fields: + - {label: "Title", name: "title", widget: "string"} + - {label: "Content", name: "body", widget: "markdown"}