- Added format: frontmatter and extension: njk - Changed body widget from markdown to code (HTML) - Added hidden layout field - Added description field to match existing frontmatter This allows editing existing pages without restructuring the site.
82 lines
3.2 KiB
YAML
82 lines
3.2 KiB
YAML
backend:
|
|
name: gitea
|
|
repo: firefrost-gaming/firefrost-website
|
|
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
|
|
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
|
|
|
|
# File extension and format
|
|
extension: "njk"
|
|
format: "frontmatter"
|
|
|
|
collections:
|
|
- name: "pages"
|
|
label: "Pages"
|
|
files:
|
|
- label: "About"
|
|
name: "about"
|
|
file: "about.njk"
|
|
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: "Servers"
|
|
name: "servers"
|
|
file: "servers.njk"
|
|
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: "Subscribe"
|
|
name: "subscribe"
|
|
file: "subscribe.njk"
|
|
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: "Contact"
|
|
name: "contact"
|
|
file: "contact.njk"
|
|
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"
|
|
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"
|
|
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}
|