Merge pull request 'Menü-Umbau' (#198) from cantortechnik/gcg-website:master into master
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #198
This commit is contained in:
commit
378b87e900
152
config.yml
152
config.yml
@ -63,109 +63,162 @@ menu:
|
||||
URL: blog
|
||||
weight: 1
|
||||
hasChildren: false
|
||||
params:
|
||||
external: false
|
||||
- name: Schule
|
||||
weight: 2
|
||||
hasChildren: true
|
||||
params:
|
||||
external: false
|
||||
- parent: Schule
|
||||
name: Über die Schule
|
||||
URL: about
|
||||
weight: 1
|
||||
hasChildren: false
|
||||
params:
|
||||
external: false
|
||||
- parent: Schule
|
||||
name: Ganztagsangebote
|
||||
name: Ganztagsbereich
|
||||
URL: ganztagsangebote
|
||||
weight: 2
|
||||
hasChildren: false
|
||||
params:
|
||||
external: false
|
||||
- parent: Schule
|
||||
name: Termine
|
||||
URL: termine
|
||||
weight: 3
|
||||
hasChildren: false
|
||||
params:
|
||||
external: false
|
||||
- parent: Schule
|
||||
name: Aufnahme
|
||||
URL: anmeldung
|
||||
weight: 4
|
||||
hasChildren: false
|
||||
params:
|
||||
external: false
|
||||
- parent: Schule
|
||||
name: Schulbibliothek
|
||||
URL: pages/bibo
|
||||
weight: 5
|
||||
hasChildren: false
|
||||
params:
|
||||
external: false
|
||||
- parent: Schule
|
||||
name: Schulchronik
|
||||
URL: schulchronik
|
||||
weight: 6
|
||||
hasChildren: false
|
||||
params:
|
||||
external: false
|
||||
- parent: Schule
|
||||
name: Cantorpreis
|
||||
URL: cantorpreis
|
||||
weight: 7
|
||||
hasChildren: false
|
||||
params:
|
||||
external: false
|
||||
- parent: Schule
|
||||
name: Virtueller Rundgang
|
||||
URL: https://vr.cantorgymnasium.de/tour/
|
||||
weight: 8
|
||||
hasChildren: false
|
||||
params:
|
||||
external: true
|
||||
- weight: 3
|
||||
name: Unterricht
|
||||
hasChildren: true
|
||||
params:
|
||||
external: false
|
||||
- parent: Unterricht
|
||||
name: Wettbewerbe
|
||||
URL: wettbewerbe
|
||||
weight: 4
|
||||
hasChildren: false
|
||||
- parent: Schule
|
||||
name: Cantorpreis
|
||||
URL: cantorpreis
|
||||
weight: 5
|
||||
hasChildren: false
|
||||
- parent: Schule
|
||||
name: Aufnahme
|
||||
URL: anmeldung
|
||||
weight: 6
|
||||
hasChildren: false
|
||||
- parent: Schule
|
||||
name: Junior-Ingenieur-Akademie
|
||||
URL: pages/jia
|
||||
weight: 8
|
||||
hasChildren: false
|
||||
- parent: Schule
|
||||
name: Schulchronik
|
||||
URL: schulchronik
|
||||
weight: 7
|
||||
hasChildren: false
|
||||
- parent: Schule
|
||||
name: Schulbibliothek
|
||||
URL: pages/bibo
|
||||
weight: 9
|
||||
hasChildren: false
|
||||
- parent: Schule
|
||||
params:
|
||||
external: false
|
||||
- parent: Unterricht
|
||||
name: Begabtenförderung
|
||||
URL: begabte
|
||||
weight: 10
|
||||
weight: 5
|
||||
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
|
||||
params:
|
||||
external: false
|
||||
- parent: Unterricht
|
||||
name: Junior-Ingenieur-Akademie
|
||||
URL: pages/jia
|
||||
weight: 6
|
||||
hasChildren: false
|
||||
params:
|
||||
external: false
|
||||
- name: Für Schüler und Eltern
|
||||
weight: 4
|
||||
hasChildren: true
|
||||
params:
|
||||
external: false
|
||||
- parent: Für Schüler und Eltern
|
||||
name: Dokumente und Formulare
|
||||
URL: forms
|
||||
weight: 1
|
||||
hasChildren: false
|
||||
params:
|
||||
external: false
|
||||
- parent: Für Schüler und Eltern
|
||||
name: Förderverein
|
||||
URL: pages/foerderverein
|
||||
name: Vertretungsplan
|
||||
URL: https://stundenplan24.de/20072021/mobil/
|
||||
weight: 2
|
||||
hasChildren: false
|
||||
params:
|
||||
external: true
|
||||
- parent: Für Schüler und Eltern
|
||||
name: Lernplattform Moodle
|
||||
URL: https://moodle.bildung-lsa.de/gcg
|
||||
weight: 3
|
||||
hasChildren: false
|
||||
params:
|
||||
external: true
|
||||
- parent: Für Schüler und Eltern
|
||||
name: Essensbestellung
|
||||
URL: https://heideklause-halle.de/bestellung/
|
||||
weight: 4
|
||||
hasChildren: false
|
||||
params:
|
||||
external: true
|
||||
- parent: Für Schüler und Eltern
|
||||
name: Schulshop
|
||||
URL: https://schulkleidung.de/shop/index.php?nr=SDQUCKVD
|
||||
weight: 5
|
||||
hasChildren: false
|
||||
params:
|
||||
external: true
|
||||
- parent: Für Schüler und Eltern
|
||||
name: Förderverein
|
||||
URL: pages/foerderverein
|
||||
weight: 6
|
||||
hasChildren: false
|
||||
params:
|
||||
external: false
|
||||
- parent: Für Schüler und Eltern
|
||||
name: Schülervertretung
|
||||
URL: pages/schuelervertretung
|
||||
weight: 3
|
||||
weight: 7
|
||||
hasChildren: false
|
||||
params:
|
||||
external: false
|
||||
- name: Elternvertretung
|
||||
weight: 4
|
||||
weight: 8
|
||||
URL: pages/elternvertretung
|
||||
parent: Für Schüler und Eltern
|
||||
hasChildren: false
|
||||
params:
|
||||
external: false
|
||||
- name: Kontakt
|
||||
URL: kontakt
|
||||
weight: 5
|
||||
hasChildren: false
|
||||
params:
|
||||
external: false
|
||||
footer:
|
||||
- name: Termine
|
||||
URL: termine
|
||||
@ -184,7 +237,6 @@ languages:
|
||||
with :heart: and [Hugo](https://gohugo.io)."
|
||||
impressumURL: pages/impressum
|
||||
dseURL: pages/datenschutz
|
||||
|
||||
privacy:
|
||||
disqus:
|
||||
disable: true
|
||||
|
@ -50,7 +50,7 @@
|
||||
</a>
|
||||
<div class="dropdown-menu">
|
||||
{{ range .Children }}
|
||||
<a class="dropdown-item text-uppercase" href="{{ .URL | absLangURL }}">{{ .Name }}</a>
|
||||
<a class="dropdown-item text-uppercase" href="{{ .URL | absLangURL }}" target="{{ if .Params.External }}_blank{{ else }}_self{{end}}">{{ .Name }}</a>
|
||||
{{ end }}
|
||||
</div>
|
||||
</li>
|
||||
|
4
layouts/robots.txt
Normal file
4
layouts/robots.txt
Normal file
@ -0,0 +1,4 @@
|
||||
User-agent: *
|
||||
Disallow: /admin/
|
||||
|
||||
Sitemap: https://cantorgymnasium.de/sitemap.xml
|
@ -298,6 +298,12 @@ collections:
|
||||
- {label: "Untermenüs", name: "hasChildren", widget: "boolean", required: false}
|
||||
- {label: "Link", name: "URL", widget: "string", required: false}
|
||||
- {label: "Untermenü von", name: "parent", widget: "relation", collection: "config", file: "hugo-config", search_fields: ['menu.main.*.name'], display_fields: ['menu.main.*.name'], value_field: "menu.main.*.name", required: false}
|
||||
- label: "Parameter"
|
||||
name: "params"
|
||||
widget: "object"
|
||||
collapsed: false
|
||||
fields:
|
||||
- {label: "Externer Link", hint: "Wird in neuem Tab geöffnet.", name: "external", widget: "boolean", default: false, required: false}
|
||||
- label: "unteres Menü"
|
||||
name: "footer"
|
||||
widget: "list"
|
||||
@ -324,6 +330,7 @@ collections:
|
||||
- label: "Privatsphäre"
|
||||
name: "privacy"
|
||||
widget: "object"
|
||||
collapsed: true
|
||||
fields:
|
||||
- label: "Disqus"
|
||||
name: "disqus"
|
||||
|
Loading…
x
Reference in New Issue
Block a user