publications: Fix pub type link in multilingual mode (#232)

This commit is contained in:
YAJIE 2017-07-22 17:28:23 +01:00 committed by gcushen
commit 4a2a754f1d

View file

@ -34,7 +34,7 @@
<div class="col-xs-12 col-sm-3 pub-row-heading">{{ i18n "publication_type" }}</div>
<div class="col-xs-12 col-sm-9">
{{ range $index, $pubtype := .Params.publication_types }}
<a href="{{ "/publication/" | relURL }}#{{ . | urlize }}">
<a href="{{ "/publication/" | relLangURL }}#{{ . | urlize }}">
{{ index $.Site.Params.publication_types (int .) }}
</a>
{{ end }}