add history

This commit is contained in:
DrBroiler 2021-02-16 14:34:23 +01:00
parent 05a89431af
commit 07d50d9a61
6 changed files with 16 additions and 3 deletions

View File

@ -10,7 +10,7 @@ disqusShortname = ""
[[menu.map]]
identifier = "Meshviewer"
name = "Meshviewer"
url = "map"
url = "map/"
weight = 10
[[menu.firmware]]

View File

@ -0,0 +1,4 @@
+++
Title = "Elements"
description = "Just an assorted selection of elements."
+++

View File

View File

@ -11,4 +11,9 @@ button_news:
button_calendar:
enable: true
title: "Kalender"
link: "https://next.dezentrale.cloud/nextcloud/apps/calendar/p/fMxrf4srxN65TpcW/dayGridMonth/now"
link: "https://next.dezentrale.cloud/nextcloud/apps/calendar/p/fMxrf4srxN65TpcW/dayGridMonth/now"
button_history:
enable: true
title: "History"
link: "/history/"

View File

@ -8,7 +8,7 @@ banner:
link: "#"
class: "primary"
- title: "Chatte mit der Community"
link: "https://matrix.to/#/#freifunk:chat.dezentrale.space"
link: "https://app.matrix.to/#/#freifunk:chat.dezentrale.space"
### Highlight ###
highlight:

View File

@ -15,6 +15,10 @@
{{ if $button_calendar.enable }}
<li><a href="{{ $button_calendar.link }}">{{ $button_calendar.title }}</a></li>
{{ end }}
{{ $button_history := .Site.Data.globalheader.button_history }}
{{ if $button_history.enable }}
<li><a href="{{ $button_calendar.link }}">{{ $button_history.title }}</a></li>
{{ end }}
<li>
<a href="#" class="icon solid fa-angle-down">Karten</a>
<ul>