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:
authoricf20 <icf20@users.noreply.github.com>2020-10-19 23:54:04 +0300
committerGitHub <noreply@github.com>2020-10-19 23:54:04 +0300
commit85bb5b89e7d55bb2929925f1aee882a861e317a7 (patch)
treec70f47c400b8145e91dd0d84f6f35db7370edae0
parent11e70816622739105330ed568c04eb9c2fb54464 (diff)
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 }}