mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2025-09-15 12:58:48 +08:00
fix: 缺省 random
This commit is contained in:
parent
7bef2fa7cd
commit
16ae63d0c4
@ -15,7 +15,7 @@
|
||||
|
||||
let listResult = ""
|
||||
const lists = str[i].link_list
|
||||
if (!{page.random}) {
|
||||
if (!{page.random === true}) {
|
||||
lists.sort(() => Math.random() - 0.5)
|
||||
}
|
||||
for(let j = 0; j < lists.length; j++){
|
||||
|
||||
Loading…
Reference in New Issue
Block a user