Compare commits

...

4 Commits

Author SHA1 Message Date
Alexander Böhm 7a38e3894d Menu cleanup 2021-03-21 01:20:09 +01:00
Alexander Böhm 5909e5880a First menu entry is suppress and used as menu title, support for menu entry urls 2021-03-21 01:19:42 +01:00
Alexander Böhm 58161d7d74 Extend width for submenus 2021-03-21 01:18:30 +01:00
Alexander Böhm 8b0e3e05ae Remvoed generated content 2021-03-21 01:17:08 +01:00
5 changed files with 13 additions and 27 deletions

View File

@ -1326,7 +1326,7 @@ $bannerURL: "{{ (.Site.Data.homepage.banner.image | default "images/banner.jpg")
list-style: none;
margin: calc(-0.5em + 1px) 0 0 1px;
padding: 0.5em 0;
width: 11em;
width: 13.5em;
li {
padding: 0;
@ -2100,4 +2100,4 @@ $bannerURL: "{{ (.Site.Data.homepage.banner.image | default "images/banner.jpg")
padding: 2.5em 1em 3em 1em;
}
}
}

View File

@ -7,11 +7,8 @@ theme: "hugo-html5up-alpha"
disqusShortname: ""
menu:
begin:
00begin:
- identifier: "Anfangen"
name: "Anfangen"
url: "begin/"
weight: 10
- name: "Router einrichten"
url: "begin/"
- name: "Gluon Firmware"
@ -19,20 +16,15 @@ menu:
- name: "Dokumentation"
url: "docs/"
introduction:
01introduction:
- identifier: "Einführung"
name: "Einführung"
url: "introduction/"
weight: 30
- name: "Historie"
url: "history/"
- name: "FAQ"
url: "FAQ/"
support:
- name: "Unterstützen"
url: "support/"
weight: 50
02support:
- identifier: "Unterstützen"
- name: "Gewerbetreibende und Vereine"
url: "support/"
- name: "Spenden"
@ -40,11 +32,9 @@ menu:
- name: "Standorte"
url: "places/"
map:
03map:
- identifier: "Karte"
name: "Karte"
url: "map/"
weight: 80
- name: "Meshviewer"
url: "map/"
- name: "HopGlass"
@ -52,10 +42,8 @@ menu:
- name: "Statistik"
url: "stats/"
kontakt:
04kontakt:
- identifier: "Kontakt"
name: "Kontakt"
weight: 100
url: "https://freifunk.net/kontakt/"
- name: "Impressum"
url: "https://freifunk.net/impressum/"

View File

@ -6,16 +6,18 @@
{{ range $menu_key, $menu_item := .Site.Menus }}
<li id="{{ $menu_key }}">
{{ range $idx, $val := $menu_item }}
{{ if eq $idx 0 }}
<a href="#" class="icon solid fa-angle-down">{{ $val.Identifier }}</a>
{{ end }}
{{ if eq $idx 0 }}
<a href="{{ default '#' .URL }}" class="icon solid fa-angle-down">{{ .Identifier }}</a>
{{ end }}
{{ end }}
<ul>
{{ range $idx, $val := $menu_item }}
{{ if gt $idx 0 }}
<li>
<a href="{{ .URL | relURL }}">{{ .Name }}</a>
</li>
{{ end }}
{{ end }}
</ul>

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
{"Target":"style.css","MediaType":"text/css","Data":{}}