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

github.com/reuixiy/hugo-theme-meme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/page/home-poetry.html')
-rw-r--r--layouts/partials/page/home-poetry.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/layouts/partials/page/home-poetry.html b/layouts/partials/page/home-poetry.html
index a6381a0..e71681a 100644
--- a/layouts/partials/page/home-poetry.html
+++ b/layouts/partials/page/home-poetry.html
@@ -1,7 +1,11 @@
+{{- $Deliver := . -}}
<main class="home">
<div class="poetry">
{{ range .Site.Params.homePoetry }}
- <p>{{ . | markdownify }}</p>
+ {{- $raw := . -}}
+ {{- partial "components/markdownify.html" (dict "Deliver" $Deliver "raw" $raw) -}}
+ {{- $Content := $Deliver.Scratch.Get "Content" -}}
+ <p>{{ $Content | safeHTML }}</p>
{{ end }}
</div>
<div class="links">