commit addec6d1f65e91dd4c3a1b04d8e32056af5a5ebd
parent 7eb9907ef2edf5493e83ca621bb848820f287fb1
Author: Shimmy Xu <shimmy.xu@shimmy1996.com>
Date: Wed, 24 Apr 2019 23:37:03 -0400
Use relative url for translations
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/layouts/partials/navigation_bar.html b/layouts/partials/navigation_bar.html
@@ -4,7 +4,7 @@
<li> <a href="{{ .URL | relURL }}">{{ .Name }}</a> </li>
{{- end -}}
{{- range .Translations -}}
- <li> <a href="{{ .Permalink }}">{{ .Site.Language.LanguageName }}</a> </li>
+ <li> <a href="{{ .URL | relURL }}">{{ .Site.Language.LanguageName }}</a> </li>
{{- end -}}
</ul>
</nav>