Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@docusaurus/plugin-content-blog
Advanced tools
@docusaurus/plugin-content-blog is a plugin for Docusaurus, a static site generator. This plugin allows you to create and manage a blog within your Docusaurus site. It provides features like blog post creation, pagination, tags, and more.
Create Blog Posts
This feature allows you to create and manage blog posts in Markdown or MDX format. The configuration specifies the path to the blog directory, the route base path, and other settings like the blog title and description.
module.exports = {
plugins: [
[
'@docusaurus/plugin-content-blog',
{
path: './blog',
routeBasePath: '/blog',
include: ['*.md', '*.mdx'],
blogTitle: 'My Blog',
blogDescription: 'A Docusaurus powered blog!',
},
],
],
};
Pagination
This feature enables pagination for your blog posts. You can specify the number of posts per page using the `postsPerPage` option.
module.exports = {
plugins: [
[
'@docusaurus/plugin-content-blog',
{
path: './blog',
routeBasePath: '/blog',
postsPerPage: 10,
},
],
],
};
Tags
This feature allows you to categorize your blog posts using tags. The configuration can also include options to show reading time and customize the blog sidebar.
module.exports = {
plugins: [
[
'@docusaurus/plugin-content-blog',
{
path: './blog',
routeBasePath: '/blog',
showReadingTime: true,
blogSidebarCount: 'ALL',
blogSidebarTitle: 'All posts',
},
],
],
};
Hexo is a fast, simple, and powerful blog framework. It provides a wide range of features for creating and managing blogs, including support for Markdown, extensive theming options, and plugins for additional functionalities. Unlike @docusaurus/plugin-content-blog, Hexo is a standalone framework rather than a plugin for a static site generator.
Jekyll is a static site generator focused on blogging. It offers features like Markdown support, templates, and plugins. Jekyll is highly customizable and is often used for GitHub Pages. While it provides similar blogging functionalities, it is a standalone tool rather than a plugin for another static site generator like @docusaurus/plugin-content-blog.
@docusaurus/plugin-content-blog
Blog plugin for Docusaurus.
3.6.2 (2024-11-19)
docusaurus-module-type-aliases
docusaurus-theme-translations
docusaurus
docusaurus-bundler
create-docusaurus
docusaurus-bundler
, docusaurus-faster
, docusaurus
FAQs
Blog plugin for Docusaurus.
The npm package @docusaurus/plugin-content-blog receives a total of 255,453 weekly downloads. As such, @docusaurus/plugin-content-blog popularity was classified as popular.
We found that @docusaurus/plugin-content-blog demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.