Преглед изворни кода

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

YAJIE пре 8 година
родитељ
комит
4a2a754f1d
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      layouts/publication/single.html

+ 1 - 1
layouts/publication/single.html

@@ -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 }}