Browse Source

Fix `url_project` link in multilingual mode (#243)

Dongdong Tian 8 năm trước cách đây
mục cha
commit
7f67d274c7
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      layouts/partials/publication_links.html

+ 1 - 1
layouts/partials/publication_links.html

@@ -32,7 +32,7 @@
 </a>
 {{ end }}
 {{ with $.Params.url_project }}
-<a class="btn btn-primary btn-outline{{ if $is_list }} btn-xs{{end}}" href="{{ . | absURL }}">
+<a class="btn btn-primary btn-outline{{ if $is_list }} btn-xs{{end}}" href="{{ . | absLangURL }}">
   {{ i18n "btn_project" }}
 </a>
 {{ end }}