summaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
authorFrank Villaro-Dixon <frank@vi-di.fr>2024-10-10 13:57:36 +0200
committerGitHub <noreply@github.com>2024-10-10 13:57:36 +0200
commit8ae1e30c1d2aa3ccd9bb1c244a015fc76b957240 (patch)
tree6318be55b9a4ada65975699304b8a73262a6d806 /layouts
parent546a122aa7db34ff83067d6fee03d42b8bfdf28a (diff)
single view: markdownify summary
The summary is not markdownified, and thus we see the md content on the summary. This fixes that
Diffstat (limited to 'layouts')
-rw-r--r--layouts/_default/single.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 000977a..308ee5b 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -14,7 +14,7 @@
<h1 class="single-title">{{ .Title }}</h1>
{{ with .Param "summary" }}
- <p class="single-summary">{{ . }}</p>
+ <p class="single-summary">{{ . | markdownify }}</p>
{{ end }}
{{/* Reading Time */}}
@@ -96,4 +96,4 @@
</div>
-{{ end }} \ No newline at end of file
+{{ end }}