-
-
Notifications
You must be signed in to change notification settings - Fork 4
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
Add recent blog posts on homepage #37
Add recent blog posts on homepage #37
Conversation
anchalshivank
commented
Aug 6, 2024
- Implemented a custom blog plugin to generate recent-posts.json
- Integrated recent-posts.json data into RecentBlogs component
- Enhanced RecentBlog component to include title, date, reading time, and description
- Added CSS modules for styling RecentBlog and RecentBlogs components
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, save for a few nit-picking suggestions, this PR looks nice! Please apply the suggestions and squash the commits 👍
cdf80a5
to
bd7be13
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some final nit-picking. The commit message should not mention the history of the PR (like "Enhanced RecentBlogPost
component"). Instead, it would better tell why we had to hack around the blog plugin. The rest seems to be quite self-explanatory.
- Implemented custom plugin to generate `blog-posts-metadata.json` - Integrated `blog-posts-metadata.json` data into RecentBlogPosts component - Added `recentBlogPostsOnHomePage` parameter in `customFields` in `docusaurus.config.js` Signed-off-by: Shivank Anchal <[email protected]>
ee24cdd
to
10ad9f7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! Thanks 🙏