forked from tsc-vfl/hugo-page
Added top level menu entries
This commit is contained in:
parent
c25734f500
commit
0e1a513059
@ -74,6 +74,12 @@ h1 {
|
||||
a {
|
||||
margin: 0 40px 0 0;
|
||||
// height: 100%;
|
||||
color: black;
|
||||
text-decoration: none;
|
||||
|
||||
&.active {
|
||||
color: $color_red;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
9
content/page/aktuell/_index.md
Normal file
9
content/page/aktuell/_index.md
Normal file
@ -0,0 +1,9 @@
|
||||
---
|
||||
title: "Aktuell"
|
||||
date: 2023-01-20T16:27:40+01:00
|
||||
draft: true
|
||||
menu:
|
||||
main:
|
||||
weight: 1
|
||||
---
|
||||
|
9
content/page/angebote/_index.md
Normal file
9
content/page/angebote/_index.md
Normal file
@ -0,0 +1,9 @@
|
||||
---
|
||||
title: "Angebote"
|
||||
date: 2023-01-20T16:27:15+01:00
|
||||
draft: true
|
||||
menu:
|
||||
main:
|
||||
weight: 3
|
||||
---
|
||||
|
@ -5,6 +5,7 @@ draft: true
|
||||
menu:
|
||||
main:
|
||||
identifier: club
|
||||
weight: 2
|
||||
---
|
||||
|
||||
Unser Tanzsportclub (TSC) wurde zwar erst 1971 als Abteilung des VfL Sindelfingen gegründet und ist damit deutlich jünger als der Hauptverein. Mit mehreren hundert Mitgliedern aller Altersgruppen sind wir aber schon seit vielen Jahren eine der großen VfL-Abteilungen.
|
||||
|
9
content/page/info/_index.md
Normal file
9
content/page/info/_index.md
Normal file
@ -0,0 +1,9 @@
|
||||
---
|
||||
title: "Info/Kontakt"
|
||||
date: 2023-01-20T16:27:30+01:00
|
||||
draft: true
|
||||
menu:
|
||||
main:
|
||||
weight: 4
|
||||
---
|
||||
|
@ -13,7 +13,7 @@
|
||||
<div id="nav-border" class="container nav">
|
||||
<nav id="nav" class="nav justify-content-center">
|
||||
{{ range .Site.Menus.main }}
|
||||
<a class="nav-link" href="{{ .URL }}">
|
||||
<a class="nav-link{{ if or ($.Page.IsMenuCurrent "main" .) ($.Page.HasMenuCurrent "main" .) }} active{{ end }}" href="{{ .URL }}">
|
||||
{{/*{{ if .Pre }}
|
||||
{{ $icon := printf "<i data-feather=\"%s\"></i> " .Pre | safeHTML }}
|
||||
{{ $icon }}
|
||||
|
Loading…
Reference in New Issue
Block a user