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

github.com/xiaoheiAh/hugo-theme-pure.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/post/wc.html')
-rw-r--r--layouts/partials/post/wc.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/post/wc.html b/layouts/partials/post/wc.html
index 4f5a66f..f582be6 100644
--- a/layouts/partials/post/wc.html
+++ b/layouts/partials/post/wc.html
@@ -2,9 +2,9 @@
{{- $page := .Page}}
{{- with $postCount.enable }}
{{- with $postCount.wordcount }}
- <span class="post-wordcount hidden-xs" itemprop="wordCount">{{ T "article_wordcount" -}}: {{- $page.WordCount }}{{ T "unit_word" }}</span>
+ <span class="post-wordcount hidden-xs" itemprop="wordCount">{{ T "article_wordcount" -}}{{- $page.WordCount }}{{ T "unit_word" }}</span>
{{- end }}
{{- with $postCount.min2read }}
- <span class="post-readcount hidden-xs" itemprop="timeRequired">{{ T "article_readcount" }}: {{- $page.ReadingTime }}{{ T "unit_time" }} </span>
+ <span class="post-readcount hidden-xs" itemprop="timeRequired">{{ T "article_readcount" }}{{- $page.ReadingTime }}{{ T "unit_time" }} </span>
{{- end }}
{{- end }} \ No newline at end of file