Open mather opened 1 year ago
Describe the bug When you use "read more" (<!--more-->) in article, index page won't display summary (under title).
<!--more-->
summary in front matter correctly works.
summary
To Reproduce Steps to reproduce the behavior:
Expected behavior The part above "read more" appears as a summary.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
hugo version
Additional context I changed this filter to plainify, and it's works. But I don't know why it works. https://github.com/lxndrblz/anatole/blob/master/layouts/index.html#L56
plainify
- <p>{{ .Summary | markdownify }}</p> + <p>{{ .Summary | plainify }}</p>
Describe the bug When you use "read more" (
<!--more-->
) in article, index page won't display summary (under title).summary
in front matter correctly works.To Reproduce Steps to reproduce the behavior:
<!--more-->
) in article.Expected behavior The part above "read more" appears as a summary.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
hugo version
if unsure): v0.111.2+extendedAdditional context I changed this filter to
plainify
, and it's works. But I don't know why it works. https://github.com/lxndrblz/anatole/blob/master/layouts/index.html#L56