diff options
| -rw-r--r-- | layouts/_default/single.html | 2 | ||||
| -rw-r--r-- | layouts/dramas/single.html | 2 | ||||
| -rw-r--r-- | layouts/narratives/single.html | 2 | ||||
| -rw-r--r-- | layouts/poems/single.html | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index cf250bf..90bb5b5 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,6 +1,6 @@ {{ define "main" }} <article class="post"> - <h1 class="text-title">{{ .Title }}</h1> + <h1 class="text-title">{{ .Params.caption | default .Title }}</h1> {{ .Content }} </article> {{ end }} diff --git a/layouts/dramas/single.html b/layouts/dramas/single.html index 0609384..dc31717 100644 --- a/layouts/dramas/single.html +++ b/layouts/dramas/single.html @@ -1,6 +1,6 @@ {{ define "main" }} <article class="drama"> - <h1 class="text-title">{{ .Title }}</h1> + <h1 class="text-title">{{ .Params.caption | default .Title }}</h1> <p class="byline">by {{ .Params.author }}</p> {{ .Content }} </article> diff --git a/layouts/narratives/single.html b/layouts/narratives/single.html index 6b56ef4..030af43 100644 --- a/layouts/narratives/single.html +++ b/layouts/narratives/single.html @@ -1,6 +1,6 @@ {{ define "main" }} <article class="narrative"> - <h1 class="text-title">{{ .Title }}</h1> + <h1 class="text-title">{{ .Params.caption | default .Title }}</h1> <p class="byline">by {{ .Params.author }}</p> {{ .Content }} </article> 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> |
