-
- by {{ .Params.author | default .Site.Params.author }}{{ if or (.Params.categories) (.Params.tags) }} in {{ partial "meta-terms.html" . }}{{ end }}
+
+ {{ i18n "authoredBy" }} {{ .Params.author | default .Site.Params.author }}{{ if or (.Params.categories) (.Params.tags) }} {{ i18n "postedIn" }} {{ partial "meta-terms.html" . }}{{ end }}
{{ .Content }}
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 9bd3ac7..ac9cfa3 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -58,8 +58,8 @@
-
- by {{ .Params.author | default .Site.Params.author }}{{ if or (.Params.categories) (.Params.tags) }} in {{ partial "meta-terms.html" . }}{{ end }}
+
+ {{ i18n "authoredBy" }} {{ .Params.author | default .Site.Params.author }}{{ if or (.Params.categories) (.Params.tags) }} {{ i18n "postedIn" }} {{ partial "meta-terms.html" . }}{{ end }}
{{ .Content }}
diff --git a/layouts/_default/summary.html b/layouts/_default/summary.html
index 5df609a..e9ce921 100644
--- a/layouts/_default/summary.html
+++ b/layouts/_default/summary.html
@@ -2,8 +2,8 @@
-
- by {{ .Params.author | default .Site.Params.author }}{{ if or (.Params.categories) (.Params.tags) }} in {{ partial "meta-terms.html" . }}{{ end }}
+
+ {{ i18n "authoredBy" }} {{ .Params.author | default .Site.Params.author }}{{ if or (.Params.categories) (.Params.tags) }} {{ i18n "postedIn" }} {{ partial "meta-terms.html" . }}{{ end }}
{{ .Summary }}
{{ i18n "readMore" }}
diff --git a/layouts/partials/meta-terms.html b/layouts/partials/meta-terms.html
index 897802a..903496a 100644
--- a/layouts/partials/meta-terms.html
+++ b/layouts/partials/meta-terms.html
@@ -1,8 +1,8 @@
{{ if .Params.categories }}
- {{ range $index, $category := .Params.categories }}{{ if gt $index 0 }}, {{ end }}{{ . }}{{ end }}
+ {{ range $index, $category := .Params.categories }}{{ if gt $index 0 }}{{ i18n "comma" }} {{ end }}{{ . }}{{ end }}
{{ end }}
{{ if .Params.tags }}
- {{ range $index, $tag := .Params.tags }}{{ if gt $index 0 }}, {{ end }}{{ . }}{{ end }}
+ {{ range $index, $tag := .Params.tags }}{{ if gt $index 0 }}{{ i18n "comma" }} {{ end }}{{ . }}{{ end }}
{{ end }}
{{- /* vim: set ts=2 sw=2 et: */}}