creativecommons / creativecommons.github.io-source

Source files for CC Open Source website
https://opensource.creativecommons.org/
MIT License
77 stars 161 forks source link

Update `Write a Blog Post` by adding excerpt suggestion. #351

Open Dhruvi16 opened 4 years ago

Dhruvi16 commented 4 years ago

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 -

image

Implementation

kgodey commented 4 years ago

Thanks for pointing this out, @Dhruvi16

ritesh-pandey commented 4 years ago

How do we plan to extract excerpt?

Dhruvi16 commented 4 years ago

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:

https://github.com/creativecommons/creativecommons.github.io-source/blob/6f61fa8004d030dc6f0b9c442921bb9a1d994eec/themes/vocabulary_theme/templates/blocks/recent-posts.html#L32

noobkid2411 commented 3 years ago

Hi,@kgodey, @Dhruvi16 @dhruvkb I would like to work on this issue,can this be assigned to me? Also,could someone elaborate on how excerpts are currently being made and if you need a better programming tool for excerpts for individual posts or general guidelines?

JeffyDave commented 1 year ago

Hi , please can this be assigned to me @kgodey. I would love to work on this.

kgodey commented 1 year ago

@JeffyDave I'm not involved with CC open source work much any more, I'll defer on assignment to @TimidRobot or @possumbilities.

possumbilities commented 1 year ago

@JeffyDave Hi, I'm glad you're all working hard to find ways to contribute. We do appreciate it. ❤️

But, if you read through the Contribution Guidelines you can see that this issue is not currently ready to be worked on. I'd suggest you read the Contribution Guidelines through and hunt for Issues that fall within tags that indicate they're ready to be worked on :)

Abdullahhh12 commented 1 year ago

can i contribute