diff options
author | Minos Park <m@minospark.com> | 2020-12-10 01:10:20 +0300 |
---|---|---|
committer | Minos Park <m@minospark.com> | 2020-12-10 01:10:20 +0300 |
commit | 31b319a6e4aaf89b248cfd8ca90bd4b4c5f99abb (patch) | |
tree | ff5a02583373810eeaad235f28f6c527ccc3ea4c | |
parent | abda471d66864f4def0cb2822013db096f549d1c (diff) |
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 )}} |