Admin + FM

This commit is contained in:
Denys Konovalov 2020-07-11 14:06:51 +02:00
parent e31617c1ca
commit a8ba4475d9
2 changed files with 17 additions and 9 deletions

View File

@ -6,7 +6,7 @@ bg_image: "images/backgrounds/page-title.jpg"
description : "" description : ""
email: "denys.konovalov@pm.me" email: "denys.konovalov@pm.me"
# portrait # portrait
photo: "images/people/dkonovalov.png" image: "images/people/dkonovalov.png"
social: social:
- icon : "ti-twitter-alt" # themify icon pack : https://themify.me/themify-icons - icon : "ti-twitter-alt" # themify icon pack : https://themify.me/themify-icons
link : "https://twitter.com/LXDB_DE" link : "https://twitter.com/LXDB_DE"

View File

@ -7,13 +7,21 @@ backend:
media_folder: "static/images" media_folder: "static/images"
collections: collections:
- name: "blog" # Used in routes, e.g., /admin/collections/blog - name: "author-de" # Used in routes, e.g., /admin/collections/blog
label: "Blog" # Used in the UI label: "Deutsch-Autor" # Used in the UI
folder: "_posts/" # The path to the folder where the documents are stored 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 create: true # Allow users to create new documents in this collection
slug: "{{year}}-{{month}}-{{day}}-{{slug}}" # Filename template, e.g., YYYY-MM-DD-title.md slug: "{{slug}}" # Filename template, e.g., YYYY-MM-DD-title.md
fields: # The fields for each document, usually in front matter fields: # The fields for each document, usually in front matter
- {label: "Title", name: "title", widget: "string"} - {label: "Name", name: "title", widget: "string"}
- {label: "Publish Date", name: "date", widget: "datetime"} - {label: "Hintergrundbild", name: "bg_image", widget: "image", "default: "images/backgrounds/page-title.jpg"}
- {label: "Tags", name: "tags", widget: "list"} - {label: "Metabeschreibung", name: "description", widget: "text"}
- {label: "Body", name: "body", widget: "markdown"} - {label: "Gravatar-E-Mail", name: "email", widget: "string"}
- {label: "Foto", name: "image", widget: "image"}
- label: "Sozielle Netzwerke/Kontakt"
name: "social"
widget: "object"
fields:
- {label: "Symbol", name: "icon", widget: "string"}
- {label: "Link", name: "link", widget: "string"}
- {label: "Beschreibung", name: "body", widget: "markdown"}