mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2026-10-04 06:22:00 +08:00
🔖 3.0.0 發佈
This commit is contained in:
1 parent
8f27859cea
commit
065093e217
6 files changed
+46
-7
No files matched your search
@@ -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