Implementierung Fachbereichsseiten (#305)
Schließt #182 Basis-Implementierung der Fachbereichsseiten mit Layout/Menüeinbindung, Inhalt aller Fächer, WoU-Seiten, Umstrukturierung der Begabtenförderung Co-authored-by: GCG.Admin (Automatisiert) <admin@cantor-gymnasium.de> Reviewed-on: #305
This commit is contained in:
13
layouts/fachbereich/list.html
Normal file
13
layouts/fachbereich/list.html
Normal file
@ -0,0 +1,13 @@
|
||||
{{ define "main" }}
|
||||
|
||||
<section class="section pb-0">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
{{ range .Data.Pages }}
|
||||
{{ partial "card-btn" . }}
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
{{ end }}
|
9
layouts/fachbereich/single.html
Normal file
9
layouts/fachbereich/single.html
Normal file
@ -0,0 +1,9 @@
|
||||
{{ define "main" }}
|
||||
|
||||
{{ partial "tile-modals" . }}
|
||||
|
||||
{{ if not (eq .Params.news false) }}
|
||||
{{ partial "news" (dict "param" ".Params.subjects" "cond" (slice .Title) "title" (print "dem Fach " .Title) "Site" .Site) }}
|
||||
{{ end }}
|
||||
|
||||
{{ end }}
|
Reference in New Issue
Block a user