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.en]
languageName = "English"
[[languages.en.menu.main]]
name = "Schedule"
url = "https://pretalx.rc3.studio/rc3-channels-2020/schedule/"
weight = 2
[languages.de]
languageName = "Deutsch"
[[languages.de.menu.main]]
name = "Programm"
url = "https://pretalx.rc3.studio/rc3-channels-2020/schedule/"
weight = 2
[taxonomies]

View File

@ -1,8 +1,8 @@
---
title: Programm
menu:
main:
weight: 2
#menu:
# main:
# 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>}}

View File

@ -1,8 +1,8 @@
---
title: Schedule
menu:
main:
weight: 2
#menu:
# main:
# 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>}}

View File

@ -22,7 +22,7 @@
<hr>
{{ end }}
{{ 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 }}
</nav>
</header>