Don't markdownify .Summary

When a post defines a custom summary through `<!--more-->` tag,
`markdownify` does not work and result in the post having empty summary.

This fixes the behavior to render it properly
This commit is contained in:
Wilson E. Husin 2022-04-26 16:50:17 -07:00
parent e0213b0d4e
commit 48846331ee

View File

@ -38,7 +38,7 @@
{{ else if .Description }} {{ else if .Description }}
{{ .Description | markdownify }} {{ .Description | markdownify }}
{{ else }} {{ else }}
{{ .Summary | markdownify }} {{ .Summary }}
{{ end }} {{ end }}
</div> </div>