π¦ plugin-content-blog
Provides the Blog feature and is the default blog plugin for Docusaurus.
#
Installation- npm
- Yarn
tip
If you have installed @docusaurus/preset-classic
, you don't need to install it as a dependency. You can also configure it through the classic preset options instead of doing it like below.
#
Configurationdocusaurus.config.js
#
i18nRead the i18n introduction first.
#
Translation files location- Base path:
website/i18n/<locale>/docusaurus-plugin-content-blog
- Multi-instance path:
website/i18n/<locale>/docusaurus-plugin-content-blog-<pluginId>
- JSON files: N/A
- Markdown files:
website/i18n/<locale>/docusaurus-plugin-content-blog