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:
parent
e0213b0d4e
commit
48846331ee
@ -38,7 +38,7 @@
|
|||||||
{{ else if .Description }}
|
{{ else if .Description }}
|
||||||
{{ .Description | markdownify }}
|
{{ .Description | markdownify }}
|
||||||
{{ else }}
|
{{ else }}
|
||||||
{{ .Summary | markdownify }}
|
{{ .Summary }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user