瀏覽代碼

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