diff --git a/_config.yml b/_config.yml index 85ab63b..8d6a01a 100755 --- a/_config.yml +++ b/_config.yml @@ -90,12 +90,19 @@ widgets: enable: true icon: fas fa-tags title: "标签" - # 显示网易云歌单 + # 显示音乐播放器 music: enable: true icon: fas fa-headphones-alt - title: "音乐" - playlist_id: 746319661 # 歌单id + title: "最近在听" + link: 'https://music.163.com/#/user/home?id=63035382' + color: '#3DC550' # 主题色 + volume: 0.5 # 默认音量大小(0~1之间) + mode: circulation # random (随机) single (单曲) circulation (列表循环) order (列表) + autoplay: false # false(手动播放) true(自动播放) + server: netease # netease(网易云音乐)tencent(QQ音乐) xiami(虾米) kugou(酷狗) + type: playlist # song (单曲) album (专辑) playlist (歌单) search (搜索) + id: 746319661 # 歌曲/专辑/歌单 ID # 显示友链,友链的内容写在主目录的config中 links: enable: true diff --git a/layout/_partial/head.ejs b/layout/_partial/head.ejs index bffd8e6..d3e19dd 100755 --- a/layout/_partial/head.ejs +++ b/layout/_partial/head.ejs @@ -41,6 +41,10 @@ + + + + <%- css('style.css') %>