63 lines
2.7 KiB
YAML
63 lines
2.7 KiB
YAML
backend:
|
|
name: github
|
|
repo: eesev9ie/gcg-website
|
|
branch: master
|
|
site_domain: eesev9ie.netlify.app
|
|
|
|
media_folder: "static/images"
|
|
public_folder: "/images"
|
|
site_url: https://eesev9ie.github.io
|
|
display_url: https://eesev9ie.github.io
|
|
logo_url: https://eesev9ie.github.io/images/logo_y.svg
|
|
locale: "de"
|
|
|
|
collections:
|
|
- name: "author-de" # Used in routes, e.g., /admin/collections/blog
|
|
label: "Deutsch/Autor" # Used in the UI
|
|
folder: "content/german/author" # The path to the folder where the documents are stored
|
|
create: true # Allow users to create new documents in this collection
|
|
slug: "{{slug}}" # Filename template, e.g., YYYY-MM-DD-title.md
|
|
editor:
|
|
preview: false
|
|
fields: # The fields for each document, usually in front matter
|
|
- {label: "Name", name: "title", widget: "string"}
|
|
- {label: "Hintergrundbild", name: "bg_image", widget: "image", default: "/images/slide1.jpg"}
|
|
- {label: "Metabeschreibung", name: "description", widget: "text", default: "", required: false}
|
|
- {label: "Gravatar-E-Mail", name: "email", widget: "string"}
|
|
- {label: "Foto", name: "image", widget: "image"}
|
|
- label: "Soz. Netzwerke/Kontaktdaten"
|
|
name: "social"
|
|
widget: "list"
|
|
fields:
|
|
- {label: "Symbol", name: "icon", widget: "string", hint: "Symbolname von https://themify.me/themify-icons"}
|
|
- {label: "Link", name: "link", widget: "string"}
|
|
required: false
|
|
- {label: "Beschreibung", name: "body", widget: "markdown"}
|
|
- name: "blog-de"
|
|
label: "Deutsh/Blogbeitrag"
|
|
folder: "content/german/blog"
|
|
create: true
|
|
slug: "{{slug}}"
|
|
editor:
|
|
preview: false
|
|
fields:
|
|
- {label: "Titel", name: "title", widget: "string"}
|
|
- {label: "Datum", name: "date", widget: "datetime"}
|
|
- {label: "Entwurf", name: "draft", widget: "boolean", default: false, required: false}
|
|
- {label: "Hintergrundbild", name: "bg_image", widget: "image", default: "/images/slide1.jpg"}
|
|
- {label: "Metabeschreibung", name: "description", widget: "text", default: "", required: false}
|
|
- {label: "Beitragsbild", name: "image", widget: "image", default: "/images/image.png"}
|
|
- label: "Post Author"
|
|
name: "author"
|
|
widget: "relation"
|
|
collection: "author-de"
|
|
searchFields: ["title"]
|
|
valueField: "title"
|
|
displayFields: ["title"]
|
|
- label: "Kategorien"
|
|
name: "cathegories"
|
|
widget: "list"
|
|
- {label: "Tags", name: "tags", widget: "list", required: false, hint: '''["Tag 1", "Tag 2"]'''}
|
|
- {label: "Type", name: "type", widget: "hidden", default: "post"}
|
|
- {label: "Text", name: "body", widget: "markdown"}
|