🔖 3.0.0 發佈

This commit is contained in:
Jerry
2020-08-05 22:02:23 +08:00
Unverified
parent 8f27859cea
commit 065093e217
6 changed files with 46 additions and 7 deletions
+15
View File
@@ -0,0 +1,15 @@
hexo.on('ready', () => {
const { version } = require('../../package.json')
hexo.log.info(`
===================================================================
##### # # ##### ##### ###### ##### ###### # # #
# # # # # # # # # # # # #
##### # # # # ##### # # ##### # #
# # # # # # # ##### # # #
# # # # # # # # # # # #
##### #### # # ###### # # # ###### #
${version}
===================================================================`)
})
+1 -1
View File
@@ -23,7 +23,7 @@ function randomCover () {
let cover
let num
if (theme.cover.default_cover) {
if (theme.cover && theme.cover.default_cover) {
if (!Array.isArray(theme.cover.default_cover)) {
cover = theme.cover.default_cover
return cover