Make blog plugin config example valid (#2300)

* Make blog plugin config example valid

* Update using-plugins.md

Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com>
This commit is contained in:
Paulus Schoutsen 2020-02-19 09:53:32 -08:00 committed by GitHub
parent d974aa9c2a
commit 6a1bc254cc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -173,7 +173,7 @@ module.exports = {
/**
* Truncate marker, can be a regex or string.
*/
truncateMarker: /<!--\s*(truncate)\s*-->/
truncateMarker: /<!--\s*(truncate)\s*-->/,
/**
* Blog feed
* If feedOptions is undefined, no rss feed will be generated
@ -183,8 +183,8 @@ module.exports = {
title: '', // default to siteConfig.title
description: '', // default to `${siteConfig.title} Blog`
copyright: '',
language: undefined; // possible values: http://www.w3.org/TR/REC-html40/struct/dirlang.html#langcodes
};
language: undefined, // possible values: http://www.w3.org/TR/REC-html40/struct/dirlang.html#langcodes
},
},
],
],