404
Oops! Page does not exist.
diff --git a/.gitignore b/.gitignore index c83296a3..f12fe827 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ .vuepress/.cache .vuepress/.temp -node_modules \ No newline at end of file +node_modules +update.bat diff --git a/.vuepress/components/try.vue b/.vuepress/components/try.vue index 562be634..e87e7804 100644 --- a/.vuepress/components/try.vue +++ b/.vuepress/components/try.vue @@ -27,9 +27,9 @@ { id: 3, avatar: 'avatars/Saber.jpg', nickname: 'saber', link: 'https://emisaber.github.io/White_Box/' }, { id: 4, avatar: 'avatars/Qym.png', nickname: 'Q', link: 'https://github.com/madaoQ' }, { id: 5, avatar: 'avatars/Wyh.png', nickname: '无敌外援', link: 'https://github.com/Nanami14138' }, - { id: 6, avatar: 'avatars/Wkk.png', nickname: 'Sazerac-kk', link: 'https://example.com/user6' }, - { id: 7, avatar: 'avatars/Xwt.png', nickname: 'aoxuexinghuo', link: 'https://github.com/aoxuexinghuo' }, - { id: 7, avatar: '/logo.jpg', nickname: '期待您加入!', link: 'https://github.com/DLUT-TIC' }, + { id: 6, avatar: 'avatars/Wkk.png', nickname: 'Sazerac-kk', link: 'https://sazerac-kk.github.io/' }, + { id: 7, avatar: 'avatars/Xwt.png', nickname: 'aoxuexinghuo', link: 'https://aoxuexinghuo.github.io/' }, + { id: 8, avatar: '/logo.jpg', nickname: '期待您加入!', link: 'https://github.com/DLUT-TIC' }, // 可以根据需要添加更多成员 ], currentIndex: 0, diff --git a/.vuepress/config.ts b/.vuepress/config.ts index 35321f4f..e39bb47c 100644 --- a/.vuepress/config.ts +++ b/.vuepress/config.ts @@ -5,29 +5,20 @@ import { viteBundler } from '@vuepress/bundler-vite' import { katex } from '@mdit/plugin-katex' export default defineUserConfig({ + head: [ + ['link', { rel: 'stylesheet', href: 'https://cdn.jsdelivr.net/npm/katex@0.16.11/dist/katex.min.css' }] + ], locales: { - // 键名是该语言所属的子路径 - // 作为特例,默认语言可以使用 '/' 作为其路径。 '/': { lang: 'zh-CN', - //首页左上角的文字 title: 'DUT-TIC', description: 'Welcome to TIC', }, }, bundler: viteBundler({}), theme: recoTheme(themeConfig), - // 扩展markdown ---> 显示latex公式 extendsMarkdown: (md) => { md.use(katex); md.linkify.set({ fuzzyEmail: false }); }, - // markdown: { - // lineNumbers: true, - // anchor: { permalink: false }, - // toc: {includeLevel: [1,2]}, - // extendMarkdown: md => { - // md.use(require('markdown-it-texmath')) - // } - // } }) diff --git a/.vuepress/config/index.ts b/.vuepress/config/index.ts index 212e8946..aa3a22fe 100644 --- a/.vuepress/config/index.ts +++ b/.vuepress/config/index.ts @@ -22,7 +22,7 @@ export const themeConfig = { head: [ // 配置网站的图标(显示在浏览器的 tab 上) - ['link', { rel: 'icon', href: '/qq.ico' }], + ['link', { rel: 'icon', href: '/favicon.ico' }], // 扩展markdown ---> 显示latex公式 ['link', {rel:'stylesheet', href:'https://cdn.jsdelivr.net/npm/katex@0.16.8/dist/katex.min.css'}], ['link', {rel:'stylesheet', href:'https://cdn.jsdelivr.net/npm/katex@0.16.8/dist/katex.min.js'}], @@ -36,11 +36,11 @@ export const themeConfig = { // 根据blog文件中md的categories自动生成分类和标签 autoSetBlogCategories: true, - autoAddCategoryToNavbar: { - location: 5, // 默认 0 - categoryText: '务虚笔记', // 默认 categories - tagText: '标签' // 默认 tags - }, + // autoAddCategoryToNavbar: { + // location: 5, // 默认 0 + // categoryText: '务虚笔记', // 默认 categories + // tagText: '标签' // 默认 tags + // }, base: "/TIC/", } diff --git a/.vuepress/config/zh/bulletin.ts b/.vuepress/config/zh/bulletin.ts index e1415f00..bd100240 100644 --- a/.vuepress/config/zh/bulletin.ts +++ b/.vuepress/config/zh/bulletin.ts @@ -7,12 +7,12 @@ export const bulletin = { }, { type: 'text', - content: `🎉🎉🎉 加入我们加入我们加入我们加入我们加入我们加入我们加入我们加入我们加入我们加入我们加入我们加入我们加入我们加入我们`, + content: `🎉🎉🎉 加入我们加入我们加入我们加入我们加入我们加入我们加入我们`, style: 'font-size: 12px; color: #5D67E8;' }, { type: 'title', - content: '扫一扫一扫', + content: '扫一扫一扫加入招新群', }, { type: 'image', @@ -29,8 +29,7 @@ export const bulletin = { type: "text", content: `
Oops! Page does not exist.
Oops! Page does not exist.