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

github.com/negrel/hugo-theme-pico.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Negrel <negrel.dev@protonmail.com>2020-07-13 23:09:08 +0300
committerAlexandre Negrel <negrel.dev@protonmail.com>2020-07-13 23:09:08 +0300
commita9e229af28adc44c165100d2d1d67cdeb445676f (patch)
tree0979c7419bf33e79bb5be45468644ffb8aec3c19 /layouts
parent2bc60978b14ed8c0cefc377f85561c4a37877822 (diff)
removing old example site
Diffstat (limited to 'layouts')
-rw-r--r--layouts/blog/single.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/layouts/blog/single.html b/layouts/blog/single.html
index 4ec29ef..8d33c4f 100644
--- a/layouts/blog/single.html
+++ b/layouts/blog/single.html
@@ -4,6 +4,11 @@
<h1 class="text-center mx-auto max-w-4xl text-4xl sm:text-5xl md:text-6xl">
{{ .Title }}
</h1>
+{{ with .Params.subtitle }}
+<h2 class="text-center mx-auto max-w-4xl text-3xl sm:text-4xl md:text-5xl">
+ {{ . }}
+</h2>
+{{ end }}
<div class="text-justify leading-loose">
{{ .Content }}
</div>