-
-
Notifications
You must be signed in to change notification settings - Fork 182
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
Update Write a Blog Post
by adding excerpt suggestion.
#351
Comments
Thanks for pointing this out, @Dhruvi16 |
How do we plan to extract excerpt?
|
Hey @ritesh-pandey! We have used Lektor's excerpt plugin and restricted it to the first 100 words of the first line of the body. Exactly this is how we are getting excerpt: creativecommons.github.io-source/themes/vocabulary_theme/templates/blocks/recent-posts.html Line 32 in 6f61fa8
|
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
Hi @TimidRobot , I’ve started working on this, and here’s what I’ve discovered: Before adding the excerpt suggestion to the page, we should introduce an excerpt field in the Would you prefer I create a new issue for adding the excerpt field and modifying the logic, and then update this once that issue is resolved? Or should I go ahead with updating the page by adding the suggestion? |
Problem
In the new CCOS website, excerpts are extracted from the blog. So for proper and meaningful excerpts, we can update Write a Blog Post (
content/community/write-a-blog-post/contents.lr
) with suggestions for adding excerpt content in the blog.Additional context
This is how excerpts look -
Implementation
The text was updated successfully, but these errors were encountered: