More i18n

Fix #42
This commit is contained in:
Carson Ip
2020-04-14 21:39:07 +08:00
parent ace57b447f
commit 5d01f8158c
2 changed files with 8 additions and 2 deletions

View File

@@ -1,2 +1,8 @@
[Contents]
other = "Contents"
[Comments]
other = "Comments"
[ReadMore]
other = "Read More"

View File

@@ -31,7 +31,7 @@
{{ end }}
{{ if .Site.DisqusShortname }}
<div class="article-comment-link-wrap">
<a href="{{ .RelPermalink }}#disqus_thread" class="article-comment-link">Comments</a>
<a href="{{ .RelPermalink }}#disqus_thread" class="article-comment-link">{{ T "Comments" }}</a>
</div>
{{ end }}
</div>
@@ -41,7 +41,7 @@
{{ .Summary }}
</p>
<p class="article-more-link">
<a href="{{ .RelPermalink }}">Read More</a>
<a href="{{ .RelPermalink }}">{{ T "ReadMore" }}</a>
</p>
</div>