mirror of https://gitlab.com/curben/blog
refactor: array in one line
This commit is contained in:
parent
0fe5658173
commit
c601a31b13
|
@ -5,10 +5,7 @@ const template = require('./template')
|
|||
|
||||
module.exports = function (locals) {
|
||||
const config = this.config
|
||||
let skipRenderList = [
|
||||
'*.js',
|
||||
'*.css'
|
||||
]
|
||||
let skipRenderList = ['*.js', '*.css']
|
||||
|
||||
if (Array.isArray(config.skip_render)) {
|
||||
skipRenderList = skipRenderList.concat(config.skip_render)
|
||||
|
|
Loading…
Reference in New Issue