mirror of
https://github.com/panr/hugo-theme-terminal.git
synced 2025-03-15 02:39:06 +03:00
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
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@
|
|||
{{ else if .Description }}
|
||||
{{ .Description | markdownify }}
|
||||
{{ else }}
|
||||
{{ .Summary | markdownify }}
|
||||
{{ .Summary }}
|
||||
{{ end }}
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue