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

github.com/lxndrblz/anatole.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Bilz <mail@alexbilz.com>2022-03-19 14:57:35 +0300
committerAlexander Bilz <mail@alexbilz.com>2022-03-19 14:57:35 +0300
commitf345853fe8d314f612e218e6c035d75271846eae (patch)
treecd42e649dc13298a3be3d26fd2bd78f9e011e717 /layouts
parent5f5927ebb82c21c4dbc10e2b2e5d44a988584b0f (diff)
fix: non styled summary
Diffstat (limited to 'layouts')
-rw-r--r--layouts/index.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/layouts/index.html b/layouts/index.html
index ef29d79..b456730 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -59,11 +59,12 @@
<div class="post__content">
<h3><a href="{{ .RelPermalink }}">{{ upper .Title }}</a></h3>
{{ if .Site.Params.fullPostContent }}
- {{ .Content }}
+ <p>{{ .Content | markdownify }}</p>
{{ else }}
- {{ .Summary }}
+ <p>{{ .Summary | markdownify}}</p>
+
{{ end }}