We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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>
The text was updated successfully, but these errors were encountered:
lxndrblz
No branches or pull requests
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
The text was updated successfully, but these errors were encountered: