Menü-Umbau
This commit is contained in:
parent
21d057e4d9
commit
acef52091e
152
config.yml
152
config.yml
@ -63,109 +63,162 @@ menu:
|
|||||||
URL: blog
|
URL: blog
|
||||||
weight: 1
|
weight: 1
|
||||||
hasChildren: false
|
hasChildren: false
|
||||||
|
params:
|
||||||
|
external: false
|
||||||
- name: Schule
|
- name: Schule
|
||||||
weight: 2
|
weight: 2
|
||||||
hasChildren: true
|
hasChildren: true
|
||||||
|
params:
|
||||||
|
external: false
|
||||||
- parent: Schule
|
- parent: Schule
|
||||||
name: Über die Schule
|
name: Über die Schule
|
||||||
URL: about
|
URL: about
|
||||||
weight: 1
|
weight: 1
|
||||||
hasChildren: false
|
hasChildren: false
|
||||||
|
params:
|
||||||
|
external: false
|
||||||
- parent: Schule
|
- parent: Schule
|
||||||
name: Ganztagsangebote
|
name: Ganztagsbereich
|
||||||
URL: ganztagsangebote
|
URL: ganztagsangebote
|
||||||
weight: 2
|
weight: 2
|
||||||
hasChildren: false
|
hasChildren: false
|
||||||
|
params:
|
||||||
|
external: false
|
||||||
- parent: Schule
|
- parent: Schule
|
||||||
name: Termine
|
name: Termine
|
||||||
URL: termine
|
URL: termine
|
||||||
weight: 3
|
weight: 3
|
||||||
hasChildren: false
|
hasChildren: false
|
||||||
|
params:
|
||||||
|
external: false
|
||||||
- parent: Schule
|
- 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
|
name: Wettbewerbe
|
||||||
URL: wettbewerbe
|
URL: wettbewerbe
|
||||||
weight: 4
|
weight: 4
|
||||||
hasChildren: false
|
hasChildren: false
|
||||||
- parent: Schule
|
params:
|
||||||
name: Cantorpreis
|
external: false
|
||||||
URL: cantorpreis
|
- parent: Unterricht
|
||||||
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
|
|
||||||
name: Begabtenförderung
|
name: Begabtenförderung
|
||||||
URL: begabte
|
URL: begabte
|
||||||
weight: 10
|
weight: 5
|
||||||
hasChildren: false
|
hasChildren: false
|
||||||
- weight: 3
|
params:
|
||||||
name: Digitale Angebote
|
external: false
|
||||||
hasChildren: true
|
- parent: Unterricht
|
||||||
- parent: Digitale Angebote
|
name: Junior-Ingenieur-Akademie
|
||||||
name: Vertretungsplan
|
URL: pages/jia
|
||||||
URL: https://stundenplan24.de/20072021/mobil/
|
weight: 6
|
||||||
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
|
hasChildren: false
|
||||||
|
params:
|
||||||
|
external: false
|
||||||
- name: Für Schüler und Eltern
|
- name: Für Schüler und Eltern
|
||||||
weight: 4
|
weight: 4
|
||||||
hasChildren: true
|
hasChildren: true
|
||||||
|
params:
|
||||||
|
external: false
|
||||||
- parent: Für Schüler und Eltern
|
- parent: Für Schüler und Eltern
|
||||||
name: Dokumente und Formulare
|
name: Dokumente und Formulare
|
||||||
URL: forms
|
URL: forms
|
||||||
weight: 1
|
weight: 1
|
||||||
hasChildren: false
|
hasChildren: false
|
||||||
|
params:
|
||||||
|
external: false
|
||||||
- parent: Für Schüler und Eltern
|
- parent: Für Schüler und Eltern
|
||||||
name: Förderverein
|
name: Vertretungsplan
|
||||||
URL: pages/foerderverein
|
URL: https://stundenplan24.de/20072021/mobil/
|
||||||
weight: 2
|
weight: 2
|
||||||
hasChildren: false
|
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
|
- parent: Für Schüler und Eltern
|
||||||
name: Schulshop
|
name: Schulshop
|
||||||
URL: https://schulkleidung.de/shop/index.php?nr=SDQUCKVD
|
URL: https://schulkleidung.de/shop/index.php?nr=SDQUCKVD
|
||||||
weight: 5
|
weight: 5
|
||||||
hasChildren: false
|
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
|
- parent: Für Schüler und Eltern
|
||||||
name: Schülervertretung
|
name: Schülervertretung
|
||||||
URL: pages/schuelervertretung
|
URL: pages/schuelervertretung
|
||||||
weight: 3
|
weight: 7
|
||||||
hasChildren: false
|
hasChildren: false
|
||||||
|
params:
|
||||||
|
external: false
|
||||||
- name: Elternvertretung
|
- name: Elternvertretung
|
||||||
weight: 4
|
weight: 8
|
||||||
URL: pages/elternvertretung
|
URL: pages/elternvertretung
|
||||||
parent: Für Schüler und Eltern
|
parent: Für Schüler und Eltern
|
||||||
hasChildren: false
|
hasChildren: false
|
||||||
|
params:
|
||||||
|
external: false
|
||||||
- name: Kontakt
|
- name: Kontakt
|
||||||
URL: kontakt
|
URL: kontakt
|
||||||
weight: 5
|
weight: 5
|
||||||
hasChildren: false
|
hasChildren: false
|
||||||
|
params:
|
||||||
|
external: false
|
||||||
footer:
|
footer:
|
||||||
- name: Termine
|
- name: Termine
|
||||||
URL: termine
|
URL: termine
|
||||||
@ -184,7 +237,6 @@ languages:
|
|||||||
with :heart: and [Hugo](https://gohugo.io)."
|
with :heart: and [Hugo](https://gohugo.io)."
|
||||||
impressumURL: pages/impressum
|
impressumURL: pages/impressum
|
||||||
dseURL: pages/datenschutz
|
dseURL: pages/datenschutz
|
||||||
|
|
||||||
privacy:
|
privacy:
|
||||||
disqus:
|
disqus:
|
||||||
disable: true
|
disable: true
|
||||||
|
@ -50,7 +50,7 @@
|
|||||||
</a>
|
</a>
|
||||||
<div class="dropdown-menu">
|
<div class="dropdown-menu">
|
||||||
{{ range .Children }}
|
{{ 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 }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</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: "Untermenüs", name: "hasChildren", widget: "boolean", required: false}
|
||||||
- {label: "Link", name: "URL", widget: "string", 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: "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ü"
|
- label: "unteres Menü"
|
||||||
name: "footer"
|
name: "footer"
|
||||||
widget: "list"
|
widget: "list"
|
||||||
@ -324,6 +330,7 @@ collections:
|
|||||||
- label: "Privatsphäre"
|
- label: "Privatsphäre"
|
||||||
name: "privacy"
|
name: "privacy"
|
||||||
widget: "object"
|
widget: "object"
|
||||||
|
collapsed: true
|
||||||
fields:
|
fields:
|
||||||
- label: "Disqus"
|
- label: "Disqus"
|
||||||
name: "disqus"
|
name: "disqus"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user