Open schedule in new tab from main menu
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Luca 2020-12-23 00:04:05 +01:00
parent a1254ea08d
commit c4878323cf
4 changed files with 15 additions and 7 deletions

View File

@ -5,8 +5,16 @@ enableGitInfo = true
[languages] [languages]
[languages.en] [languages.en]
languageName = "English" languageName = "English"
[[languages.en.menu.main]]
name = "Schedule"
url = "https://pretalx.rc3.studio/rc3-channels-2020/schedule/"
weight = 2
[languages.de] [languages.de]
languageName = "Deutsch" languageName = "Deutsch"
[[languages.de.menu.main]]
name = "Programm"
url = "https://pretalx.rc3.studio/rc3-channels-2020/schedule/"
weight = 2
[taxonomies] [taxonomies]

View File

@ -1,8 +1,8 @@
--- ---
title: Programm title: Programm
menu: #menu:
main: # main:
weight: 2 # weight: 2
--- ---
Die aktuelle Version unseres Programms (sowie einiger anderer Kanäle) findest du {{<external href="https://pretalx.rc3.studio/rc3-channels-2020/schedule/">}}hier.{{</external>}} Die aktuelle Version unseres Programms (sowie einiger anderer Kanäle) findest du {{<external href="https://pretalx.rc3.studio/rc3-channels-2020/schedule/">}}hier.{{</external>}}

View File

@ -1,8 +1,8 @@
--- ---
title: Schedule title: Schedule
menu: #menu:
main: # main:
weight: 2 # weight: 2
--- ---
You can find the current version of the franconian.net (as well as some other channels) schedule {{<external href="https://pretalx.rc3.studio/rc3-channels-2020/schedule/">}}here.{{</external>}} You can find the current version of the franconian.net (as well as some other channels) schedule {{<external href="https://pretalx.rc3.studio/rc3-channels-2020/schedule/">}}here.{{</external>}}

View File

@ -22,7 +22,7 @@
<hr> <hr>
{{ end }} {{ end }}
{{ range .Site.Menus.main }} {{ range .Site.Menus.main }}
<a class="nav-link{{ if or ($currentPage.IsMenuCurrent "main" .) ($currentPage.HasMenuCurrent "main" .) }} nav-link-active{{ end }}" href="{{ .URL }}">{{ .Name }}</a> <a class="nav-link{{ if or ($currentPage.IsMenuCurrent "main" .) ($currentPage.HasMenuCurrent "main" .) }} nav-link-active{{ end }}" href="{{ .URL }}"{{ if hasPrefix .URL "https://" }} target="_blank"{{ end }}>{{ .Name }}</a>
{{ end }} {{ end }}
</nav> </nav>
</header> </header>