Commit 0fab4c29 authored by Daniel Brötzmann's avatar Daniel Brötzmann

Add LanguagePrefix for download shortcodes

parent 6708db68
Pipeline #5589 passed with stage
in 1 second
<div class="text-center">
<a class="btn btn-success" href="/download" role="button">{{ .Get "label" }}</a>
<a class="btn btn-success" href="{{ .Site.LanguagePrefix }}/download" role="button">{{ .Get "label" }}</a>
......@@ -7,11 +7,11 @@
<div class="dropdown show">
<a class="btn btn-success dropdown-toggle" href="#" role="button" id="downloadDropdown" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">{{ .Get "label" }}</a>
<div class="dropdown-menu" aria-labelledby="downloadDropdown">
<a class="dropdown-item" href="download#windows">Windows</a>
<a class="dropdown-item" href="download#macos">MacOS</a>
<a class="dropdown-item" href="download#linux">Linux</a>
<a class="dropdown-item" href="{{ .Site.LanguagePrefix }}/download#windows">Windows</a>
<a class="dropdown-item" href="{{ .Site.LanguagePrefix }}/download#macos">MacOS</a>
<a class="dropdown-item" href="{{ .Site.LanguagePrefix }}/download#linux">Linux</a>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment