Skip to content

Commit

Permalink
Add text link support for disclaimer. (hugo-toha#385)
Browse files Browse the repository at this point in the history
为免责声明添加文本链接支持。
Fix some Chinese translation.
变更disclaimer翻译为“免责声明”。

Signed-off-by: Ray <[email protected]>
  • Loading branch information
Chow-Ray committed Jul 30, 2021
1 parent f56f3dd commit 03edbac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion i18n/zh-cn.toml
Original file line number Diff line number Diff line change
Expand Up @@ -111,4 +111,4 @@ other = "查看证书"
other = "笔记"

[disclaimer_text]
other = "责任通知"
other = "免责声明"
2 changes: 1 addition & 1 deletion layouts/partials/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ <h5>{{ i18n "contact_me" }}</h5>
{{ if and $disclaimerEnabled $disclaimer}}
<hr />
<div class="container">
<p id="disclaimer"><strong>{{ i18n "disclaimer_text" }}:</strong> {{ $disclaimer }}</p>
<p id="disclaimer"><strong>{{ i18n "disclaimer_text" }}:</strong> {{ $disclaimer | markdownify }}</p>
</div>
{{ end }}
{{ if $credentialsEnabled }}
Expand Down

0 comments on commit 03edbac

Please sign in to comment.