Admin + FM

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

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

@ -7,13 +7,21 @@ backend:
media_folder: "static/images"
collections:
- name: "blog" # Used in routes, e.g., /admin/collections/blog
label: "Blog" # Used in the UI
folder: "_posts/" # The path to the folder where the documents are stored
- 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: "{{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
- {label: "Title", name: "title", widget: "string"}
- {label: "Publish Date", name: "date", widget: "datetime"}
- {label: "Tags", name: "tags", widget: "list"}
- {label: "Body", name: "body", widget: "markdown"}
- {label: "Name", name: "title", widget: "string"}
- {label: "Hintergrundbild", name: "bg_image", widget: "image", "default: "images/backgrounds/page-title.jpg"}
- {label: "Metabeschreibung", name: "description", widget: "text"}
- {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"}