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

github.com/zzossig/hugo-theme-zzo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzzossig <52706977+zzossig@users.noreply.github.com>2020-10-20 22:49:06 +0300
committerGitHub <noreply@github.com>2020-10-20 22:49:06 +0300
commit72408e4f8e698c9fa5efa3316145ad4f57f979dd (patch)
tree462c07d772032a29306a9a1891f2287a502b15d5
parentbc043d44c16a5b47982e25da665e835249276b2f (diff)
parent85bb5b89e7d55bb2929925f1aee882a861e317a7 (diff)
Merge pull request #330 from icf20/patch-1
simple subtitle
-rw-r--r--layouts/_default/single.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index a83e250..1987be3 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -15,6 +15,7 @@
<div class="single__nojs">{{ i18n "nojs-message" }}</div>
<script>document.querySelector('.single').classList.remove('hide'); document.querySelector('.single__nojs').classList.add('hide');</script>
<h2 class="single__title" data-ani="{{ $.Site.Params.enableUiAnimation | default "true" }}">{{ .Title }}</h2>
+ <h3><span class="subtitle">{{ .Params.subtitle }}</span></h3>
<div class="single__meta">
{{ partial "body/infos" . }}
{{ partial "body/tags" . }}
@@ -107,4 +108,4 @@
});
</script>
{{ partial "script/single-script" . }}
-{{ end }} \ No newline at end of file
+{{ end }}