update config.yml

This commit is contained in:
Denys Konovalov 2022-03-26 18:53:47 +01:00
parent 6c5a2627f8
commit 030fd5b360
3 changed files with 33 additions and 3 deletions

@ -1,4 +1,3 @@
################################# Slider #####################################
slider: slider:
enable : true enable : true
bg_image : "media/banner/banner.webp" bg_image : "media/banner/banner.webp"

@ -29,6 +29,39 @@ collections:
media_folder: "static/media" media_folder: "static/media"
public_folder: "media" public_folder: "media"
files: files:
- name: "homepage-config"
label: "Startseitenkonfiguration"
file: "data/de/homepage.yml"
fields:
- label: "Slider"
name: "slider"
widget: "object"
fields:
- {label: "Aktivieren", name: "enable", widget: "boolean"}
- {label: "Hintergrundbild", name: "bg_image", widget: "image"}
- {label: "Titel", name: "title", widget: "string"}
- label: "Elemente"
name: "slider_item"
widget: "list"
fields:
- {label: "Inhalt", name: "content", widget: "string"}
- label: "Einblendeanimation"
name: "animation_in"
widget: "select"
options: ["left", "right", "up", "down"]
- label: "Ausblendeanimation"
name: "animation_out"
widget: "select"
options: ["left", "right", "up", "down"]
- label: "Button"
name: "button"
widget: "object"
fields:
- {label: "Aktivieren", name: "enable", widget: "boolean"}
- {label: "Bezeichnung", name: "label", widget: "string"}
- {label: "Link", name: "link", widget: "string"}
- name: "hugo-config" - name: "hugo-config"
label: "Website-Konfiguration" label: "Website-Konfiguration"
file: "config.toml" file: "config.toml"

@ -4,8 +4,6 @@
<meta charset="utf-8" /> <meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>GCG Website: Netlify CMS</title> <title>GCG Website: Netlify CMS</title>
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"> <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png"> <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png"> <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">