Replies: 3 comments 12 replies
-
Unfortunately we don't have any query engine so that you can easily inject any kind of data to any page A workaround is to extend the blog plugin (#4138 (comment)) In the And then you can import that file on your homepage: import blogPostHomePage from '@site/.docusaurus/my-blog-homepage-data.json |
Beta Was this translation helpful? Give feedback.
-
I would also like to display recent blog posts on the homepage. Is there an easier way to achieve this now? |
Beta Was this translation helpful? Give feedback.
-
Please find here a complete example of displaying recent blog posts on your homepage: cc @gouku @sergefdrv |
Beta Was this translation helpful? Give feedback.
-
Is there a way to get the latest blog post or docs programmatically? I'd like to show something like "News from our blog" or "Recent updated docs" somewhere on the homepage.
Example in Wordpress.org footer:
Beta Was this translation helpful? Give feedback.
All reactions