Unescape HTML in post summary

feature/cover-image
Andrew King 7 years ago committed by GitHub
parent 764da22ef4
commit 69ccff4e13
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