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

github.com/puresyntax71/hugo-theme-chunky-poster.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEarl Ng <ng.earl@gmail.com>2020-09-24 18:29:51 +0300
committerGitHub <noreply@github.com>2020-09-24 18:29:51 +0300
commit691852610ee39185f66b6f7a74c913854a8882f6 (patch)
treefb2ffeda0b06cb2ad10861f7163faa1326c9ac6d
parentb24df7f71ba56d1a64c59293a6332bfa49dd21a7 (diff)
Update card.html
use `htmlUnescape` instead of leaving it blank, as suggested https://discourse.gohugo.io/t/how-to-remove-html-tags-in-lead-without-using-plainify/27733
-rw-r--r--layouts/_default/card.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/card.html b/layouts/_default/card.html
index 45151df..01c06fc 100644
--- a/layouts/_default/card.html
+++ b/layouts/_default/card.html
@@ -14,7 +14,7 @@
<h4 class="card-title">{{ $page.Title }}</h4>
<p class="card-text text-muted text-uppercase">{{ $page.Date.Format "January 2, 2006" }}</p>
<div class="card-text">
- {{ $page.Summary }}
+ {{ $page.Summary | htmlUnescape }}
</div>
</div>
</a>