summaryrefslogtreecommitdiffstats
path: root/layouts/poems/single.html
diff options
context:
space:
mode:
authorSerghei Iakovlev <egrep@protonmail.ch>2022-05-15 15:31:45 +0200
committerSerghei Iakovlev <egrep@protonmail.ch>2022-05-15 15:31:45 +0200
commitb4cdaaab0c9f924764d485b1b63c1ca920965b68 (patch)
tree3efbad92c02d83b35ee3e49488ddbbcb49209474 /layouts/poems/single.html
parentd519fa3153c53197b833f22cb3f1e64d3b96afea (diff)
downloadgohugo-theme-ed-b4cdaaab0c9f924764d485b1b63c1ca920965b68.tar.gz
Provide ability to create cutom page title
Diffstat (limited to 'layouts/poems/single.html')
-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 9ad5bfc..c55eef8 100644
--- a/layouts/poems/single.html
+++ b/layouts/poems/single.html
@@ -1,6 +1,6 @@
{{ define "main" }}
<article class="poem poetry">
- <h1 class="text-title">{{ .Title }}</h1>
+ <h1 class="text-title">{{ .Params.caption | default .Title }}</h1>
<p class="byline">by {{ .Params.author }}</p>
{{ .Content }}
</article>