Update 01.10.2020

This commit is contained in:
Denys Konovalov 2020-10-01 15:52:38 +02:00
parent b83bef2e03
commit 349cb840f0
3 changed files with 13 additions and 4 deletions

View File

@ -30,7 +30,7 @@ Beschluss des Rates des Bezirkes Halle zur Gründung einer Spezialschule mathema
---
# 1989
## 1989
**Juli:** Die Spezialschule ist Austragungsort des Theorieteils der 21. internationalen Chemieolympiade
**August:** Übernahme der rekonstruierten ehemaligen Kindereinrichtung „Mischka der Bär“ als Internat

View File

@ -20,9 +20,11 @@ collections:
slug: "{{slug}}" # Filename template, e.g., YYYY-MM-DD-title.md
editor:
preview: false
media_folder: '/static/media/people'
public_folder: '/media/people'
fields: # The fields for each document, usually in front matter
- {label: "Name", name: "title", widget: "string"}
- {label: "Hintergrundbild", name: "bg_image", widget: "image", default: "/media/backgrounds/page-title.png"}
- {label: "Hintergrundbild", name: "bg_image", widget: "hidden", default: "/media/backgrounds/page-title.png"}
- {label: "Metabeschreibung", name: "description", widget: "text", default: "", required: false}
- {label: "Gravatar-E-Mail", name: "email", widget: "string"}
- {label: "Foto", name: "image", widget: "image"}
@ -42,6 +44,8 @@ collections:
slug: "{{slug}}"
editor:
preview: false
media_folder: '/static/media/blog'
public_folder: '/media/blog'
fields:
- {label: "Titel", name: "title", widget: "string"}
- {label: "Datum", name: "date", widget: "datetime"}
@ -238,8 +242,8 @@ collections:
folder: "content/german/schulchronik"
filter: {field: "type", value: "schulchronik"}
create: true
editor:
preview: false
#editor:
#preview: false
fields:
- {label: "Titel", name: "title", widget: "string"}
- {label: "Entwurf", name: "draft", widget: "boolean", default: "false", required: false}

View File

@ -8,5 +8,10 @@
<body>
<!-- Include the script that builds the page and powers Netlify CMS -->
<script src="https://unpkg.com/netlify-cms@^2.0.0/dist/netlify-cms.js"></script>
<script src="https://sharadcodes.github.io/hugo-shortcodes-netlify-cms/dist/hugo_shortcodes_netlify_cms.js"></script>
<script>
CMS.registerPreviewStyle("/style.css");
</script>
</body>
</html>