diff --git a/i18n/da.toml b/i18n/da.toml index bee7745..e7eed9e 100644 --- a/i18n/da.toml +++ b/i18n/da.toml @@ -25,3 +25,6 @@ other = "delvis" [service_url_text] other = "Du kan finde {{.Service_name}}{{.Service_url}}" + +[blog_post_by] +other = "Skrevet af:" diff --git a/i18n/en.toml b/i18n/en.toml index fa978f4..0f468c4 100644 --- a/i18n/en.toml +++ b/i18n/en.toml @@ -15,3 +15,6 @@ other = "our data in our hands" [service_url_text] other = "You can find {{.Service_name}} at {{.Service_url}}" + +[blog_post_by] +other = "Written by:" diff --git a/themes/datacoop2020/layouts/blog/single.html b/themes/datacoop2020/layouts/blog/single.html index d376bbd..ecbce2b 100644 --- a/themes/datacoop2020/layouts/blog/single.html +++ b/themes/datacoop2020/layouts/blog/single.html @@ -5,6 +5,9 @@ {{ .PublishDate | time.Format ":date_medium" }} {{ partial "tags" . }} +{{ if .Params.author }} +
{{ i18n "blog_post_by" }} {{ .Params.author }} +{{ end }} {{ .Content }}