Merge pull request #46 from andykingking/patch-1

Unescape HTML in post summary
feature/cover-image
Hang Jiang 7 years ago committed by GitHub
commit c440b95f20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -10,7 +10,7 @@
{{ if .Site.Params.useDescriptionReplaceSummary }}
<h2>{{ .Description | plainify }}</h2>
{{ else }}
<h2>{{ .Summary | plainify }}</h2>
<h2>{{ .Summary | plainify | htmlUnescape }}</h2>
{{ end }}
{{ end }}
</a>

Loading…
Cancel
Save