change config format

This commit is contained in:
Denys Konovalov 2022-12-15 17:01:21 +01:00
parent 769e6e6798
commit 52a924743f
4 changed files with 189 additions and 254 deletions

@ -1,252 +0,0 @@
baseURL = "https://cantorgymnasium.de/"
title = "Georg-Cantor-Gymnasium"
paginate = "6"
summaryLength = "10"
defaultContentLanguageInSubdir = false
defaultContentLanguage = "de"
enableEmoji = true
enableRobotsTxt = true
timeZone = "Europe/Berlin"
[markup]
defaultMarkdownHandler = "goldmark"
[markup.goldmark]
[markup.goldmark.renderer]
unsafe = true
[params]
mobile = "+49 345 6903156"
author = "Georg-Cantor-Gymnasium Halle (Saale). Made with Educenter by Themefisher."
logo = "media/logo.png"
route_link = "https://maps.openrouteservice.org/directions?n1=51.473292&n2=11.965606&n3=18&a=null,null,51.473292,11.965606&b=0&c=0&k1=de&k2=km"
address = "Georg-Cantor-Gymnasium <br> Torstraße 13 <br> 06110 Halle (Saale)"
top_header = true
email = "schulleitung@cantor-gymnasium.de"
email_pretty = "schulleitung<i class='fa-solid fa-at'></i>cantor-gymnasium.de"
description = "Das Georg-Cantor-Gymnasium - eine mathematisch-naturwissenschaftliche Spezialschule in Halle (Saale)."
twitter = "cantor_news"
images = ['media/zeichnung.jpg']
[params.plugins]
[[params.plugins.css]]
link = "plugins/bootstrap/bootstrap.min.css"
[[params.plugins.css]]
link = "plugins/slick/slick.css"
[[params.plugins.css]]
link = "plugins/animate/animate.css"
[[params.plugins.css]]
link = "plugins/venobox/venobox.css"
[[params.plugins.css]]
link = "plugins/fontawesome/css/all.css"
[[params.plugins.css]]
link = "plugins/fira/fira.css"
[[params.plugins.js]]
link = "plugins/jQuery/jquery.min.js"
[[params.plugins.js]]
link = "plugins/bootstrap/bootstrap.min.js"
[[params.plugins.js]]
link = "plugins/slick/slick.min.js"
[[params.plugins.js]]
link = "plugins/shuffle/shuffle.min.js"
[[params.plugins.js]]
link = "plugins/venobox/venobox.min.js"
[[params.plugins.js]]
link = "plugins/filterizr/jquery.filterizr.min.js"
[[params.social]]
title = "YouTube"
icon = "fa-brands fa-youtube"
link = "https://www.youtube.com/channel/UCHafBDI5qfK03RiIEyki9VA"
[[params.social]]
title = "twitter"
icon = "fa-brands fa-twitter"
link = "https://twitter.com/cantor_news"
[[params.social]]
title = "instagram"
icon = "fa-brands fa-instagram"
link = "https://instagram.com/cantor.news"
[[params.social]]
title = "Facebook"
icon = "fa-brands fa-facebook"
link = "https://facebook.com/gcg.cantor.news"
[params.preloader]
enable = true
preloader = "media/logo.png"
loader = "media/load.svg"
[menu]
[[menu.main]]
name = "Aktuelles"
URL = "blog"
weight = 1
[[menu.main]]
name = "Schule"
weight = 2
hasChildren = true
[[menu.main]]
parent = "Schule"
name = "Über die Schule"
URL = "about"
weight = 1
[[menu.main]]
parent = "Schule"
name = "Ganztagsangebote"
URL = "ganztagsangebote"
weight = 2
[[menu.main]]
parent = "Schule"
name = "Termine"
URL = "termine"
weight = 3
[[menu.main]]
parent = "Schule"
name = "Wettbewerbe"
URL = "wettbewerbe"
weight = 4
[[menu.main]]
parent = "Schule"
name = "Cantorpreis"
URL = "cantorpreis"
weight = 5
[[menu.main]]
parent = "Schule"
name = "Anmeldung"
URL = "anmeldung"
weight = 6
[[menu.main]]
parent = "Schule"
name = "Junior-Ingenieur-Akademie"
URL = "jia"
weight = 8
[[menu.main]]
parent = "Schule"
name = "Schulchronik"
URL = "schulchronik"
weight = 7
[[menu.main]]
parent = "Schule"
name = "Schulbibliothek"
URL = "bibo"
weight = 9
[[menu.main]]
parent = "Schule"
name = "Begabtenförderung"
URL = "begabtenfoerderung"
weight = 10
[[menu.main]]
weight = 3
name = "Digitale Angebote"
hasChildren = true
[[menu.main]]
parent = "Digitale Angebote"
name = "Vertretungsplan"
URL = "https://stundenplan24.de/20072021/mobil/"
weight = 1
[[menu.main]]
parent = "Digitale Angebote"
name = "Lernplattform Moodle"
URL = "https://moodle.bildung-lsa.de/gcg"
weight = 2
[[menu.main]]
parent = "Digitale Angebote"
name = "Virtueller Rundgang"
URL = "https://vr.cantorgymnasium.de/tour/"
weight = 3
[[menu.main]]
name = "Für Schüler und Eltern"
weight = 4
hasChildren = true
[[menu.main]]
parent = "Für Schüler und Eltern"
name = "Dokumente und Formulare"
URL = "forms"
weight = 1
[[menu.main]]
parent = "Für Schüler und Eltern"
name = "Förderverein"
URL = "foerderverein"
weight = 2
[[menu.main]]
parent = "Für Schüler und Eltern"
name = "Schulshop"
URL = "https://schulkleidung.de/shop/index.php?nr=SDQUCKVD"
weight = 5
[[menu.main]]
parent = "Für Schüler und Eltern"
name = "Schülervertretung"
URL = "schuelervertretung"
weight = 3
[[menu.main]]
name = "Elternvertretung"
weight = 4
URL = "elternvertretung"
parent = "Für Schüler und Eltern"
[[menu.main]]
name = "Kontakt"
URL = "kontakt"
weight = 5
[[menu.footer]]
name = "Termine"
URL = "termine"
[[menu.footer]]
name = "Anmeldung"
URL = "anmeldung"
[[menu.footer]]
name = "Dokumente und Formulare"
URL = "forms"
[Languages]
[Languages.de]
languageName = "De"
languageCode = "de-de"
contentDir = "content/german"
weight = 2
home = "Startseite"
copyright = "Copyright &copy; 2022 Georg-Cantor-Gymnasium Halle (Saale). Made with :heart: and <a href='https://gohugo.io'>Hugo</a>."
impressumURL = "impressum"
dseURL = "datenschutz"

187
config.yml Normal file

@ -0,0 +1,187 @@
baseURL: https://cantorgymnasium.de/
title: Georg-Cantor-Gymnasium
paginate: "6"
summaryLength: "10"
defaultContentLanguageInSubdir: false
defaultContentLanguage: de
enableEmoji: true
enableRobotsTxt: true
timeZone: Europe/Berlin
markup:
defaultMarkdownHandler: goldmark
goldmark:
renderer:
unsafe: true
params:
mobile: +49 345 6903156
author: Georg-Cantor-Gymnasium Halle (Saale). Made with Educenter by Themefisher.
logo: media/logo.png
route_link: https://maps.openrouteservice.org/directions?n1=51.473292&n2=11.965606&n3=18&a=null,null,51.473292,11.965606&b=0&c=0&k1=de&k2=km
address: Georg-Cantor-Gymnasium <br> Torstraße 13 <br> 06110 Halle (Saale)
top_header: true
email: schulleitung@cantor-gymnasium.de
email_pretty: schulleitung<i class='fa-solid fa-at'></i>cantor-gymnasium.de
description: Das Georg-Cantor-Gymnasium - eine
mathematisch-naturwissenschaftliche Spezialschule in Halle (Saale).
twitter: cantor_news
images:
- media/zeichnung.jpg
plugins:
css:
- link: plugins/bootstrap/bootstrap.min.css
- link: plugins/slick/slick.css
- link: plugins/animate/animate.css
- link: plugins/venobox/venobox.css
- link: plugins/fontawesome/css/all.css
- link: plugins/fira/fira.css
js:
- link: plugins/jQuery/jquery.min.js
- link: plugins/bootstrap/bootstrap.min.js
- link: plugins/slick/slick.min.js
- link: plugins/shuffle/shuffle.min.js
- link: plugins/venobox/venobox.min.js
- link: plugins/filterizr/jquery.filterizr.min.js
social:
- title: YouTube
icon: fa-brands fa-youtube
link: https://www.youtube.com/channel/UCHafBDI5qfK03RiIEyki9VA
- title: twitter
icon: fa-brands fa-twitter
link: https://twitter.com/cantor_news
- title: instagram
icon: fa-brands fa-instagram
link: https://instagram.com/cantor.news
- title: Facebook
icon: fa-brands fa-facebook
link: https://facebook.com/gcg.cantor.news
preloader:
enable: true
preloader: media/logo.png
loader: media/load.svg
menu:
main:
- name: Aktuelles
URL: blog
weight: 1
hasChildren: false
- name: Schule
weight: 2
hasChildren: true
- parent: Schule
name: Über die Schule
URL: about
weight: 1
hasChildren: false
- parent: Schule
name: Ganztagsangebote
URL: ganztagsangebote
weight: 2
hasChildren: false
- parent: Schule
name: Termine
URL: termine
weight: 3
hasChildren: false
- parent: Schule
name: Wettbewerbe
URL: wettbewerbe
weight: 4
hasChildren: false
- parent: Schule
name: Cantorpreis
URL: cantorpreis
weight: 5
hasChildren: false
- parent: Schule
name: Anmeldung
URL: anmeldung
weight: 6
hasChildren: false
- parent: Schule
name: Junior-Ingenieur-Akademie
URL: jia
weight: 8
hasChildren: false
- parent: Schule
name: Schulchronik
URL: schulchronik
weight: 7
hasChildren: false
- parent: Schule
name: Schulbibliothek
URL: bibo
weight: 9
hasChildren: false
- parent: Schule
name: Begabtenförderung
URL: begabtenfoerderung
weight: 10
hasChildren: false
- weight: 3
name: Digitale Angebote
hasChildren: true
- parent: Digitale Angebote
name: Vertretungsplan
URL: https://stundenplan24.de/20072021/mobil/
weight: 1
hasChildren: false
- parent: Digitale Angebote
name: Lernplattform Moodle
URL: https://moodle.bildung-lsa.de/gcg
weight: 2
hasChildren: false
- parent: Digitale Angebote
name: Virtueller Rundgang
URL: https://vr.cantorgymnasium.de/tour/
weight: 3
hasChildren: false
- name: Für Schüler und Eltern
weight: 4
hasChildren: true
- parent: Für Schüler und Eltern
name: Dokumente und Formulare
URL: forms
weight: 1
hasChildren: false
- parent: Für Schüler und Eltern
name: Förderverein
URL: foerderverein
weight: 2
hasChildren: false
- parent: Für Schüler und Eltern
name: Schulshop
URL: https://schulkleidung.de/shop/index.php?nr=SDQUCKVD
weight: 5
hasChildren: false
- parent: Für Schüler und Eltern
name: Schülervertretung
URL: schuelervertretung
weight: 3
hasChildren: false
- name: Elternvertretung
weight: 4
URL: elternvertretung
parent: Für Schüler und Eltern
hasChildren: false
- name: Kontakt
URL: kontakt
weight: 5
hasChildren: false
footer:
- name: Termine
URL: termine
- name: Anmeldung
URL: anmeldung
- name: Dokumente und Formulare
URL: forms
Languages:
de:
languageName: De
languageCode: de-de
contentDir: content/german
weight: 2
home: Startseite
copyright: "Copyright &copy; 2022 Georg-Cantor-Gymnasium Halle (Saale). Made
with :heart: and <a href='https://gohugo.io'>Hugo</a>."
impressumURL: impressum
dseURL: datenschutz

@ -114,7 +114,7 @@ h6, .h6 {
background: #ffab08; background: #ffab08;
color: #ffbc3b; } color: #ffbc3b; }
.btn-primary:not(:disabled):not(.disabled).active, .btn-primary.active:not(:disabled):not(.disabled),
.btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled):active,
.show > .btn-primary.dropdown-toggle { .show > .btn-primary.dropdown-toggle {
color: #fff; color: #fff;

@ -156,7 +156,7 @@ collections:
- {label: "Titel", name: "title", widget: "string"} - {label: "Titel", name: "title", widget: "string"}
- name: "hugo-config" - name: "hugo-config"
label: "Website-Konfiguration" label: "Website-Konfiguration"
file: "config.toml" file: "config.yml"
fields: fields:
- {label: "Website-URL", name: "baseURL", widget: "string"} - {label: "Website-URL", name: "baseURL", widget: "string"}
- {label: "Titel", name: "title", widget: "string"} - {label: "Titel", name: "title", widget: "string"}