Skip to content
New issue

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

🐞 When there is excerpt the content is empty #8

Closed
bennyxguo opened this issue Mar 31, 2021 · 0 comments
Closed

🐞 When there is excerpt the content is empty #8

bennyxguo opened this issue Mar 31, 2021 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@bennyxguo
Copy link
Member

bennyxguo commented Mar 31, 2021

excerpt is used originally in Hexo generator for outputting shorten description of an article. However for Aurora, it has a custom HTMLTruncate logic comes with it. Therefore we don't need this field anymore.

Problem
When ecerpt of the article is generated, due to the old logic, content is putting as empty. Causing article output with empty content.

Solution
Removing the excerpt field in the Aurora API data generation process.

@bennyxguo bennyxguo added the bug Something isn't working label Mar 31, 2021
@bennyxguo bennyxguo self-assigned this Mar 31, 2021
@bennyxguo bennyxguo changed the title 🐞 When there is ecerpt the content is empty 🐞 When there is excerpt the content is empty Mar 31, 2021
@bennyxguo bennyxguo moved this to Published in Hexo Aurora 2.x Roadmap Jun 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests

1 participant