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

Bug: Add truncate to blog posts #405

Closed
9 tasks
BekahHW opened this issue Oct 3, 2024 · 8 comments · Fixed by #414
Closed
9 tasks

Bug: Add truncate to blog posts #405

BekahHW opened this issue Oct 3, 2024 · 8 comments · Fixed by #414
Assignees

Comments

@BekahHW
Copy link
Member

BekahHW commented Oct 3, 2024

Describe the bug

When we started using docusaurus as our community blog, truncate wasn't added to some of the posts. Everything before truncate is visible on the page, with Read more to open the full post.

We need to add this to the following posts:

  • "blog/2024/2024-04-16-creating-an-og-image-using-react-and-netlify-edge-functions.md"
  • "blog/2024/2024-04-02-form-and-function-how-i-lost-my-submit-button-got-it-back.md"
  • "blog/2024/2024-03-14-stuck-in-the-middle-with-you-an-intro-to-middleware.md"
  • "blog/2024/2024-02-06-challenging-the-skeptics-unveiling-the-undeniable-goodness-of-tailwind-css.md"
  • "blog/2024/2024-01-23-the-native-browser-dialog-element.md"
  • "blog/2023/2023-12-14-migrating-from-jest-to-vitest-for-your-react-application.md"
  • "blog/2023/2023-11-14-boost-productivity-with-the-github-cli.md"
  • "blog/2023/2023-10-31-github-actions-a-maintainers-best-friend.md"
  • "blog/2023/2023-09-21-supercharge-your-repository-with-code-owners.md"

Steps to reproduce

  1. For each of those, we need to add <!-- truncate --> after the first or second paragraph. You should add it where it makes sense to cut off the text, giving the reader enough information to understand what the blog post is about and interested in reading more. Here's an example:

We've talked a lot about the challenges of being a maintainer, especially a solo maintainer. But like I say in our recent newsletter, open source is a team sport. But finding the right teammates can be a tricky situation as well. You might not get it right all of the time. And that's ok. Taking steps to make sure you and your project stay healthy can help to create a smoother and more rewarding open source experience. In this blog post, I'll provide a checklist and examples to help you build and manage an effective team for your open source project.

<!-- truncate -->

@jmslynn
Copy link

jmslynn commented Oct 3, 2024

.take

Copy link
Contributor

github-actions bot commented Oct 3, 2024

Thanks for taking this on! If you have not already, join the conversation in our Community

@DevvEmeka
Copy link

DevvEmeka commented Oct 6, 2024

@BekahHW @jmslynn can I work on this issue?

@adiati98
Copy link
Member

Hey @DevvEmeka,
This issue has been assigned. 🙂

@BekahHW
Copy link
Member Author

BekahHW commented Oct 16, 2024

Hey @jmslynn how are things going?

@jmslynn
Copy link

jmslynn commented Oct 17, 2024

I'm sorry! My schedule is getting busier. Why don't you open this back up and allow someone else to take it during Hacktoberfest. If no one does, I'll get it done in early November.

@BekahHW
Copy link
Member Author

BekahHW commented Oct 17, 2024

Hey, @DevvEmeka, are you interested in picking this issue up?

@shubhamchasing
Copy link
Contributor

Hey @BekahHW I would like to work on it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants