diff options
author | Carson Ip <carsonip715@gmail.com> | 2020-04-14 16:39:07 +0300 |
---|---|---|
committer | Carson Ip <carsonip715@gmail.com> | 2020-04-14 16:39:10 +0300 |
commit | 5d01f8158c56a577c3ecb4988367887b28c13d86 (patch) | |
tree | 723e509587df75d64fb80bfebc786d0c73e869e2 | |
parent | ace57b447fb132719c9c2835b00c2cb39d942ee0 (diff) |
More i18n
Fix #42
-rw-r--r-- | i18n/en.toml | 6 | ||||
-rw-r--r-- | layouts/index.html | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/i18n/en.toml b/i18n/en.toml index b0bd147..b50793a 100644 --- a/i18n/en.toml +++ b/i18n/en.toml @@ -1,2 +1,8 @@ [Contents] other = "Contents" + +[Comments] +other = "Comments" + +[ReadMore] +other = "Read More" diff --git a/layouts/index.html b/layouts/index.html index f86fee9..29104b1 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -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> |