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

github.com/chipzoller/hugo-clarity.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Boothe <git@rootwork.org>2022-05-17 01:34:13 +0300
committerIvan Boothe <git@rootwork.org>2022-05-17 01:34:13 +0300
commit6bc6e2a035ba86eb069fa5d9250f54713220ddd8 (patch)
tree47a0398a421162d6b01149f9e03f3562b7b32fc4
parent03588c8655bf48d0bc026b11d2e689b0f16ab40a (diff)
add markdownify to page titles
Signed-off-by: Ivan Boothe <git@rootwork.org>
-rw-r--r--layouts/_default/single.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 2935179..e0299b2 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -12,7 +12,7 @@
<div class="{{ if ne $p.singleColumn true }}grid-inverse {{ end }}wrap content">
<article class="post_content">
{{- $t := .Title }}
- <h1 class="post_title">{{ $t }}</h1>
+ <h1 class="post_title">{{ $t | markdownify }}</h1>
{{- partial "post-meta" . }}
{{- with .Params.featureImage -}}
<div class="post_featured">