fan-lv / Fan

hexo-theme
159 stars 36 forks source link

layout.pug文件报错 #22

Closed LeoLee0097 closed 4 years ago

LeoLee0097 commented 4 years ago

Unhandled rejection TypeError: F:\Blog\themes\Fan\layout\includes\layout.pug:11 9| 10| - var pageDescription = page.description || page.title || config.description || ''

11| - var pageKeywords = (config.keywords || []).join(',') 12| - if (page.tags && page.tags.data) pageKeywords = page.tags.data.map(function(tag) {return tag.name;}).join(',') 13| - var pageAuthor = config.author + ',' + config.email 14| - var pageCopyright = config.copyright || config.author

(config.keywords || []).join is not a function

第11行报错,说不是一个类

fan-lv commented 4 years ago

感谢指出🙏,已修复bug