fix(v2): errornous default include in blog plugin

This commit is contained in:
Yangshun Tay 2019-03-30 15:34:28 -07:00
parent f0ff211c94
commit 6fd9253328
3 changed files with 3 additions and 4 deletions

View file

@ -21,9 +21,9 @@ function fileToUrl(fileName) {
const DEFAULT_OPTIONS = {
metadataKey: 'blogMetadata',
metadataFileName: 'blogMetadata.json',
path: 'blog', // Path to data on filesystem.
path: 'blog', // Path to data on filesystem, relative to site dir.
routeBasePath: 'blog', // URL Route.
include: ['*.md, *.mdx'], // Extensions to include.
include: ['*.md', '*.mdx'], // Extensions to include.
pageCount: 10, // How many entries per page.
blogPageComponent: '@theme/BlogPage',
blogPostComponent: '@theme/BlogPost',

View file

@ -1,7 +1,7 @@
{
"name": "@docusaurus/plugin-content-blog",
"version": "1.0.0",
"description": "Blog content plugin for Docusaurus",
"description": "Blog plugin for Docusaurus",
"main": "index.js",
"license": "MIT",
"dependencies": {