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

github.com/nodejh/hugo-theme-cactus-plus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default/single.html')
-rw-r--r--layouts/_default/single.html10
1 files changed, 3 insertions, 7 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index b6b48b7..c4159a8 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -4,22 +4,18 @@
<h1 class="title">{{ .Title }}</h1>
<div class="tip">
- <time datetime="{{ .PublishDate }}">{{ i18n "publishdate" . }}</time>
+ <time datetime="{{ .PublishDate }}">{{ i18n "publishDateFull" . }}</time>
<span class="split">
·
</span>
<span>
- {{ if lt 1 .WordCount }}
- {{ .WordCount }} {{ i18n "words" }}
- {{ else }}
- {{ .WordCount }} {{ i18n "word" }}
- {{ end }}
+ {{ i18n "wordCount" . }}
</span>
<span class="split">
·
</span>
<span>
- {{ .ReadingTime }} {{ i18n "minuteread" }}
+ {{ i18n "minuteRead" . }}
</span>
</div>