mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2026-06-06 05:11:45 +08:00
🔖 3.0.0 發佈
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user