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:
authorMinos Park <m@minospark.com>2020-12-10 01:10:20 +0300
committerMinos Park <m@minospark.com>2020-12-10 01:10:20 +0300
commit31b319a6e4aaf89b248cfd8ca90bd4b4c5f99abb (patch)
treeff5a02583373810eeaad235f28f6c527ccc3ea4c
parentabda471d66864f4def0cb2822013db096f549d1c (diff)
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 )}}