Create sitemap and fixed footer menu

This commit is contained in:
Christian Wolf 2023-01-21 19:50:39 +01:00
parent 510c1a6a4c
commit 35a8016fc4
8 changed files with 64 additions and 11 deletions

View File

@ -5,6 +5,19 @@ $color_red: #cd1013;
$gap_columns_persons: 25px;
/* Mixins */
@mixin menu-style () {
font-family: 'Open Sans Condensed', sans-serif;
color: black;
text-decoration: none;
&.active, &:hover {
color: $color_red;
}
}
/* main styling */
body {
@ -75,12 +88,7 @@ h1 {
a {
margin: 0 40px 0 0;
// height: 100%;
color: black;
text-decoration: none;
&.active {
color: $color_red;
}
@include menu-style;
}
}
}
@ -112,7 +120,7 @@ h1 {
color: black;
background-color: #ececec;
&.active {
&.active, &:hover {
background-color: $color_red;
color: white;
}
@ -203,6 +211,10 @@ h1 {
> li {
list-style: none;
margin-left: 1em;
a {
@include menu-style();
}
}
}
}

View File

@ -2,6 +2,9 @@
title: "Auslandsstart"
date: 2023-01-21T13:06:43+01:00
draft: false
menu:
main:
parent: turniersport
---
Grundsätzlich dürfen Paare, die beim DTV Mitglied sind, zunächst einmal nur an Turnieren des DTVs teilnehmen.

View File

@ -2,6 +2,9 @@
title: "ID-Karte"
date: 2023-01-21T13:07:11+01:00
draft: false
menu:
main:
parent: turniersport
---
## Grundsaetzliches

View File

@ -2,6 +2,9 @@
title: "Paare"
date: 2023-01-21T12:59:17+01:00
draft: false
menu:
main:
parent: turniersport
---
| Name | Standard | Latein |

View File

@ -0,0 +1,11 @@
---
title: "Sitemap"
date: 2023-01-21T19:18:11+01:00
draft: true
layout: sitemap
menu:
main:
parent: info
weight: 4
---

View File

@ -0,0 +1,10 @@
{{ define "main" }}
<a name="top">
<h1>{{ .Title }}</h1>
</a>
{{ .Content }}
<ul class="sitemap">
{{ partial "sitemap-list" .Site.Menus.main }}
</ul>
{{ partial "totop" }}
{{ end }}

View File

@ -2,10 +2,9 @@
<div class="first-entry">TSC im VFL Sindelfinden</div>
<div class="last-entry meta-menu">
<ul>
<li>Impressum</li>
<li>Sitemap</li>
<li>Kontakt</li>
<li>Datenschutz</li>
<li><a href="{{ relref . "page/club/impressum" }}">Impressum & Datenschutz</a></li>
<li><a href="{{ relref . "page/info/sitemap" }}">Sitemap</a></li>
<li><a href="{{ relref . "page/info" }}">Kontakt</a></li>
</ul>
</div>
</div>

View File

@ -0,0 +1,12 @@
{{ range . }}
<li>
<a href="{{ .URL }}">
{{ .Title }}
</a>
{{ with .Children }}
<ul>
{{ partial "sitemap-list" . }}
</ul>
{{ end }}
</li>
{{ end }}