Create sitemap and fixed footer menu
This commit is contained in:
parent
510c1a6a4c
commit
35a8016fc4
@ -5,6 +5,19 @@ $color_red: #cd1013;
|
|||||||
|
|
||||||
$gap_columns_persons: 25px;
|
$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 */
|
/* main styling */
|
||||||
|
|
||||||
body {
|
body {
|
||||||
@ -75,12 +88,7 @@ h1 {
|
|||||||
a {
|
a {
|
||||||
margin: 0 40px 0 0;
|
margin: 0 40px 0 0;
|
||||||
// height: 100%;
|
// height: 100%;
|
||||||
color: black;
|
@include menu-style;
|
||||||
text-decoration: none;
|
|
||||||
|
|
||||||
&.active {
|
|
||||||
color: $color_red;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -112,7 +120,7 @@ h1 {
|
|||||||
color: black;
|
color: black;
|
||||||
background-color: #ececec;
|
background-color: #ececec;
|
||||||
|
|
||||||
&.active {
|
&.active, &:hover {
|
||||||
background-color: $color_red;
|
background-color: $color_red;
|
||||||
color: white;
|
color: white;
|
||||||
}
|
}
|
||||||
@ -203,6 +211,10 @@ h1 {
|
|||||||
> li {
|
> li {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
margin-left: 1em;
|
margin-left: 1em;
|
||||||
|
|
||||||
|
a {
|
||||||
|
@include menu-style();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2,6 +2,9 @@
|
|||||||
title: "Auslandsstart"
|
title: "Auslandsstart"
|
||||||
date: 2023-01-21T13:06:43+01:00
|
date: 2023-01-21T13:06:43+01:00
|
||||||
draft: false
|
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.
|
Grundsätzlich dürfen Paare, die beim DTV Mitglied sind, zunächst einmal nur an Turnieren des DTVs teilnehmen.
|
||||||
|
@ -2,6 +2,9 @@
|
|||||||
title: "ID-Karte"
|
title: "ID-Karte"
|
||||||
date: 2023-01-21T13:07:11+01:00
|
date: 2023-01-21T13:07:11+01:00
|
||||||
draft: false
|
draft: false
|
||||||
|
menu:
|
||||||
|
main:
|
||||||
|
parent: turniersport
|
||||||
---
|
---
|
||||||
|
|
||||||
## Grundsaetzliches
|
## Grundsaetzliches
|
||||||
|
@ -2,6 +2,9 @@
|
|||||||
title: "Paare"
|
title: "Paare"
|
||||||
date: 2023-01-21T12:59:17+01:00
|
date: 2023-01-21T12:59:17+01:00
|
||||||
draft: false
|
draft: false
|
||||||
|
menu:
|
||||||
|
main:
|
||||||
|
parent: turniersport
|
||||||
---
|
---
|
||||||
|
|
||||||
| Name | Standard | Latein |
|
| Name | Standard | Latein |
|
||||||
|
11
content/page/info/sitemap/index.md
Normal file
11
content/page/info/sitemap/index.md
Normal 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
|
||||||
|
---
|
||||||
|
|
10
themes/tsc_vfl/layouts/_default/sitemap.html
Normal file
10
themes/tsc_vfl/layouts/_default/sitemap.html
Normal 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 }}
|
@ -2,10 +2,9 @@
|
|||||||
<div class="first-entry">TSC im VFL Sindelfinden</div>
|
<div class="first-entry">TSC im VFL Sindelfinden</div>
|
||||||
<div class="last-entry meta-menu">
|
<div class="last-entry meta-menu">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Impressum</li>
|
<li><a href="{{ relref . "page/club/impressum" }}">Impressum & Datenschutz</a></li>
|
||||||
<li>Sitemap</li>
|
<li><a href="{{ relref . "page/info/sitemap" }}">Sitemap</a></li>
|
||||||
<li>Kontakt</li>
|
<li><a href="{{ relref . "page/info" }}">Kontakt</a></li>
|
||||||
<li>Datenschutz</li>
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
12
themes/tsc_vfl/layouts/partials/sitemap-list.html
Normal file
12
themes/tsc_vfl/layouts/partials/sitemap-list.html
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
{{ range . }}
|
||||||
|
<li>
|
||||||
|
<a href="{{ .URL }}">
|
||||||
|
{{ .Title }}
|
||||||
|
</a>
|
||||||
|
{{ with .Children }}
|
||||||
|
<ul>
|
||||||
|
{{ partial "sitemap-list" . }}
|
||||||
|
</ul>
|
||||||
|
{{ end }}
|
||||||
|
</li>
|
||||||
|
{{ end }}
|
Loading…
Reference in New Issue
Block a user