Skip to content

Commit 03e1e4d

Browse files
committed
播客列表
1 parent 1ffde88 commit 03e1e4d

7 files changed

Lines changed: 543 additions & 12 deletions

File tree

.vitepress/theme/assets/themeConfig.mjs

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@ export const themeConfig = {
100100
},
101101
],
102102
// 51la 统计
103-
['script', { src: '//sdk.51.la/js-sdk-pro.min.js', charset: 'UTF-8', id: 'LA_COLLECT' }],
104-
['script', {}, `LA.init({id:"Kq8jfdxsCtpAJn2i",ck:"Kq8jfdxsCtpAJn2i"})`],
103+
["script", { src: "//sdk.51.la/js-sdk-pro.min.js", charset: "UTF-8", id: "LA_COLLECT" }],
104+
["script", {}, `LA.init({id:"Kq8jfdxsCtpAJn2i",ck:"Kq8jfdxsCtpAJn2i"})`],
105105
// 预载 DocSearch
106106
[
107107
"link",
@@ -129,6 +129,7 @@ export const themeConfig = {
129129
// { text: "技术分享", link: "/pages/categories/技术分享", icon: "technical" },
130130
{ text: "我的项目", link: "/pages/project", icon: "code" },
131131
{ text: "效率工具", link: "/pages/tools", icon: "tools" },
132+
{ text: "Ai 播客", link: "/broadcast", icon: "broadcast" },
132133
],
133134
},
134135
{
@@ -229,16 +230,16 @@ export const themeConfig = {
229230
// 是否开启封面显示 文章不设置cover封面会显示异常,可以设置下方默认封面
230231
enable: true,
231232
// 封面布局方式: left | right | both
232-
coverLayout: 'left',
233+
coverLayout: "left",
233234
// 默认封面(随机展示)
234235
defaultCover: [
235-
'/images/post_cover/001.jpg',
236-
'/images/post_cover/002.jpg',
237-
'/images/post_cover/003.jpg',
238-
'/images/post_cover/004.jpg',
239-
'/images/post_cover/005.jpg',
240-
]
241-
}
236+
"/images/post_cover/001.jpg",
237+
"/images/post_cover/002.jpg",
238+
"/images/post_cover/003.jpg",
239+
"/images/post_cover/004.jpg",
240+
"/images/post_cover/005.jpg",
241+
],
242+
},
242243
},
243244
// 页脚信息
244245
footer: {
@@ -281,7 +282,7 @@ export const themeConfig = {
281282
{ text: "近期文章", link: "/" },
282283
{ text: "全部分类", link: "/pages/categories" },
283284
{ text: "全部标签", link: "/pages/tags" },
284-
{ text: "文章归档", link: "/pages/archives"},
285+
{ text: "文章归档", link: "/pages/archives" },
285286
],
286287
},
287288
{
@@ -294,9 +295,9 @@ export const themeConfig = {
294295
{
295296
text: "专栏",
296297
items: [
297-
// { text: "技术分享", link: "/pages/categories/技术分享" },
298298
{ text: "我的项目", link: "/pages/project" },
299299
{ text: "效率工具", link: "/pages/tools" },
300+
{ text: "Ai 播客", link: "/broadcast" },
300301
],
301302
},
302303
{

0 commit comments

Comments
 (0)