feat: 集成algolia搜索

This commit is contained in:
ZiuChen 2023-02-13 22:49:00 +08:00
parent d4a52fc764
commit 1a2e519f5e

View File

@ -37,10 +37,6 @@ export default defineConfig({
{ text: '前端工程化', link: '/note/Front-end Engineering' } { text: '前端工程化', link: '/note/Front-end Engineering' }
] ]
}, },
{
text: '文章创作',
link: '/article/一文读懂伪类与伪元素'
},
{ {
text: '个人介绍', text: '个人介绍',
link: '/self/' link: '/self/'
@ -64,7 +60,7 @@ export default defineConfig({
] ]
}, },
{ {
text: '文章创作', text: '文章归档',
collapsible: true, collapsible: true,
items: [...generateSideBar()] items: [...generateSideBar()]
}, },
@ -96,6 +92,11 @@ export default defineConfig({
message: 'Released under the MIT License.', message: 'Released under the MIT License.',
copyright: 'Copyright © 2019-present Ziu Chen' copyright: 'Copyright © 2019-present Ziu Chen'
}, },
lastUpdatedText: 'Updated Date' lastUpdatedText: 'Updated Date',
algolia: {
apiKey: 'b4fd296ea5e467b3ac4a582160ff3122',
indexName: 'ziuchenio',
appId: 'LFZ2CPWWUG'
}
} }
}) })