Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mdashx/basicwebtheme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Hyndman <mdashx@users.noreply.github.com>2020-12-10 04:58:56 +0300
committerGitHub <noreply@github.com>2020-12-10 04:58:56 +0300
commit519bec5704c5f98bef303bd5c723acccb1c72bd1 (patch)
treecb5f6b5601c130aa444192467dd4748c44ca6568
parentc9b6a638a48863f4e9a8ec4f4c7581b06aa11268 (diff)
parent31b319a6e4aaf89b248cfd8ca90bd4b4c5f99abb (diff)
Merge pull request #4 from MrMinos/subtitle-feature
Render a sub-title if available
-rw-r--r--layouts/_default/single.html1
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 )}}