mirror of https://gitlab.com/curben/blog
refactor(sitemap): let to const
This commit is contained in:
parent
163b8cd307
commit
d70dea4097
|
@ -14,7 +14,7 @@ const isMatch = (path, patterns) => {
|
||||||
|
|
||||||
module.exports = function (locals) {
|
module.exports = function (locals) {
|
||||||
const config = this.config
|
const config = this.config
|
||||||
let skipRenderList = ['*.js', '*.css']
|
const skipRenderList = ['*.js', '*.css']
|
||||||
|
|
||||||
if (Array.isArray(config.skip_render)) {
|
if (Array.isArray(config.skip_render)) {
|
||||||
skipRenderList.push(...config.skip_render)
|
skipRenderList.push(...config.skip_render)
|
||||||
|
|
Loading…
Reference in New Issue