🌐 Pass .WordCount to i18n function

This commit is contained in:
wizardbyron
2021-12-17 09:20:47 +08:00
committed by James Panther
parent 65a7228bfc
commit b4cbe9122b
3 changed files with 7 additions and 3 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
<span>
{{ .WordCount }} {{- i18n "article.word_count_unit" -}}
{{- i18n "article.word_count" .WordCount | emojify -}}
</span>
{{- /* Trim EOF */ -}}