From 95e146ed121431f40d04b6a7ae785c91c4fe0aef Mon Sep 17 00:00:00 2001 From: Denys Konovalov Date: Thu, 15 Dec 2022 17:01:21 +0100 Subject: [PATCH] change config format --- config.toml | 252 ------------------ config.yml | 187 +++++++++++++ ...s_f300667da4f5b5f84e1a9e0702b2fdde.content | 2 +- static/admin-new/config.yml | 2 +- 4 files changed, 189 insertions(+), 254 deletions(-) delete mode 100755 config.toml create mode 100644 config.yml diff --git a/config.toml b/config.toml deleted file mode 100755 index 805a7e95..00000000 --- a/config.toml +++ /dev/null @@ -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
Torstraße 13
06110 Halle (Saale)" -top_header = true -email = "schulleitung@cantor-gymnasium.de" -email_pretty = "schulleitungcantor-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 © 2022 Georg-Cantor-Gymnasium Halle (Saale). Made with :heart: and Hugo." -impressumURL = "impressum" -dseURL = "datenschutz" diff --git a/config.yml b/config.yml new file mode 100644 index 00000000..5ae13292 --- /dev/null +++ b/config.yml @@ -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
Torstraße 13
06110 Halle (Saale) + top_header: true + email: schulleitung@cantor-gymnasium.de + email_pretty: schulleitungcantor-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 © 2022 Georg-Cantor-Gymnasium Halle (Saale). Made + with :heart: and Hugo." + impressumURL: impressum + dseURL: datenschutz diff --git a/resources/_gen/assets/scss/scss/style.scss_f300667da4f5b5f84e1a9e0702b2fdde.content b/resources/_gen/assets/scss/scss/style.scss_f300667da4f5b5f84e1a9e0702b2fdde.content index 49e3e66c..463dc88b 100644 --- a/resources/_gen/assets/scss/scss/style.scss_f300667da4f5b5f84e1a9e0702b2fdde.content +++ b/resources/_gen/assets/scss/scss/style.scss_f300667da4f5b5f84e1a9e0702b2fdde.content @@ -114,7 +114,7 @@ h6, .h6 { background: #ffab08; color: #ffbc3b; } -.btn-primary:not(:disabled):not(.disabled).active, +.btn-primary.active:not(:disabled):not(.disabled), .btn-primary:not(:disabled):not(.disabled):active, .show > .btn-primary.dropdown-toggle { color: #fff; diff --git a/static/admin-new/config.yml b/static/admin-new/config.yml index 5964788b..4151951d 100644 --- a/static/admin-new/config.yml +++ b/static/admin-new/config.yml @@ -156,7 +156,7 @@ collections: - {label: "Titel", name: "title", widget: "string"} - name: "hugo-config" label: "Website-Konfiguration" - file: "config.toml" + file: "config.yml" fields: - {label: "Website-URL", name: "baseURL", widget: "string"} - {label: "Titel", name: "title", widget: "string"}