From f8eeb5b24b16b3fda88f4f30d4d6b7630a643a71 Mon Sep 17 00:00:00 2001 From: tangly1024 Date: Tue, 3 Jan 2023 20:55:36 +0800 Subject: [PATCH 1/2] notion-title --- styles/notion.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/styles/notion.css b/styles/notion.css index 9ec0e222..85b07df8 100644 --- a/styles/notion.css +++ b/styles/notion.css @@ -407,6 +407,12 @@ margin-top: 1.08em; @apply border-b w-full } +.notion-h2 { + @apply w-full +} +.notion-h3 { + @apply w-full +} .notion-header-anchor { position: absolute; From 841fe2c6c9acd29a2d3c2818444756a3e880b18a Mon Sep 17 00:00:00 2001 From: Vixcity <2091283625@qq.com> Date: Tue, 3 Jan 2023 21:13:47 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- blog.config.js | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/blog.config.js b/blog.config.js index 8be17f3f..6b376d43 100644 --- a/blog.config.js +++ b/blog.config.js @@ -79,6 +79,30 @@ const BLOG = { // https://cdn.jsdelivr.net/npm/live2d-widget-model-haruto@1.0.5/assets/haruto.model.json WIDGET_PET_SWITCH_THEME: false, // 点击宠物挂件切换博客主题 + // 音乐播放插件 + MUSIC_PLAYER: process.env.NEXT_PUBLIC_MUSIC_PLAYER || false, // 是否使用音乐播放插件 + MUSIC_PLAYER_VISIBLE: process.env.NEXT_PUBLIC_MUSIC_PLAYER_VISIBLE || true, // 是否在左下角显示播放和切换,如果使用播放器,打开自动播放再隐藏,就会以类似背景音乐的方式播放,无法取消和暂停 + MUSIC_PLAYER_AUTO_PLAY: process.env.NEXT_PUBLIC_MUSIC_PLAYER_AUTO_PLAY || true, // 是否自动播放,不过自动播放时常不生效(移动设备不支持自动播放) + MUSIC_PLAYER_SHOW_LRC: process.env.NEXT_PUBLIC_MUSIC_PLAYER_SHOW_LRC || false, // 是否展示歌词(前提是有配置歌词路径,对 meting 无效) + MUSIC_PLAYER_ORDER: 'list', // 默认播放方式,顺序 list,随机 random + MUSIC_PLAYER_AUDIO_LIST: [ // 示例音乐列表。除了以下配置外,还可配置歌词,具体配置项看此文档 https://aplayer.js.org/#/zh-Hans/ + { + name: '风を共に舞う気持ち', + artist: 'Falcom Sound Team jdk', + url: 'https://music.163.com/song/media/outer/url?id=731419.mp3', + cover: 'https://p2.music.126.net/kn6ugISTonvqJh3LHLaPtQ==/599233837187278.jpg' + }, + { + name: '王都グランセル', + artist: 'Falcom Sound Team jdk', + url: 'https://music.163.com/song/media/outer/url?id=731355.mp3', + cover: 'https://p1.music.126.net/kn6ugISTonvqJh3LHLaPtQ==/599233837187278.jpg' + } + ], + MUSIC_PLAYER_METING: process.env.NEXT_PUBLIC_MUSIC_PLAYER_METING || false, // 是否要开启 MetingJS,从平台获取歌单。会覆盖自定义的 MUSIC_PLAYER_AUDIO_LIST,更多配置信息:https://github.com/metowolf/MetingJS + MUSIC_PLAYER_METING_SERVER: process.env.NEXT_PUBLIC_MUSIC_PLAYER_METING_SERVER || 'netease', // 音乐平台,[netease, tencent, kugou, xiami, baidu] + MUSIC_PLAYER_METING_ID: process.env.NEXT_PUBLIC_MUSIC_PLAYER_METING_ID || '60198', // 对应歌单的 id + // ----> 评论互动 可同时开启多个支持 WALINE VALINE GISCUS CUSDIS UTTERRANCES GITALK // twikoo