Fix url_project link in multilingual mode (#243)

This commit is contained in:
Dongdong Tian 2017-08-24 05:32:17 +08:00 committed by gcushen
commit 7f67d274c7

View file

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