summaryrefslogtreecommitdiffstats
path: root/layouts/poems
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/poems')
-rw-r--r--layouts/poems/single.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/poems/single.html b/layouts/poems/single.html
index c55eef8..d61a185 100644
--- a/layouts/poems/single.html
+++ b/layouts/poems/single.html
@@ -1,7 +1,7 @@
{{ define "main" }}
<article class="poem poetry">
<h1 class="text-title">{{ .Params.caption | default .Title }}</h1>
- <p class="byline">by {{ .Params.author }}</p>
+ {{ with .Params.author }}<p class="byline">{{ i18n "by" . }}</p>{{ end }}
{{ .Content }}
</article>
{{ end }}