diff options
author | Tom Hyndman <mdashx@users.noreply.github.com> | 2020-12-10 04:58:56 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-10 04:58:56 +0300 |
commit | 519bec5704c5f98bef303bd5c723acccb1c72bd1 (patch) | |
tree | cb5f6b5601c130aa444192467dd4748c44ca6568 | |
parent | c9b6a638a48863f4e9a8ec4f4c7581b06aa11268 (diff) | |
parent | 31b319a6e4aaf89b248cfd8ca90bd4b4c5f99abb (diff) |
Merge pull request #4 from MrMinos/subtitle-feature
Render a sub-title if available
-rw-r--r-- | layouts/_default/single.html | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 714432b..afebf93 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -7,6 +7,7 @@ {{ with .Param "skipTitle" }} {{ else }} <h2>{{ $.Title }}</h2> +{{ if .Param "SubTitle" }}<em>{{ .Param "SubTitle" }}</em><br/><br/>{{ end }} {{ end }} {{ if (and .PublishDate $showdate )}} |