Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/carsonip/hugo-theme-minos.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarson Ip <carsonip715@gmail.com>2020-04-14 16:39:07 +0300
committerCarson Ip <carsonip715@gmail.com>2020-04-14 16:39:10 +0300
commit5d01f8158c56a577c3ecb4988367887b28c13d86 (patch)
tree723e509587df75d64fb80bfebc786d0c73e869e2
parentace57b447fb132719c9c2835b00c2cb39d942ee0 (diff)
More i18n
Fix #42
-rw-r--r--i18n/en.toml6
-rw-r--r--layouts/index.html4
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>