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

github.com/kongdivin/hugo-theme-okayish-blog.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/list/authors.html')
-rw-r--r--layouts/partials/list/authors.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/list/authors.html b/layouts/partials/list/authors.html
index 0c6e844..58d9c26 100644
--- a/layouts/partials/list/authors.html
+++ b/layouts/partials/list/authors.html
@@ -4,14 +4,14 @@
{{ errorf "[Unexpected Behaviour] Please use \"authors\" or remove \"author\" from the taxonomies." }}
{{ end }}
-{{ i18n "byAuthor" }}
+{{ i18n "byAuthor" | default "By" }}
{{ partial "author-link.html" (dict "siteContext" $.Site "author" .Params.Author "isLast" true ) }}
{{ else if .Params.Authors }}
{{ $len := len .Params.Authors}}
-{{ i18n "byAuthor" }}
+{{ i18n "byAuthor" | default "By" }}
{{ range $i, $e := .Params.Authors }}
{{ partial "author-link.html" (dict "siteContext" $.Site "author" $e "isLast" (eq $i (sub $len 1))) }}