1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
| module.exports = { title: "博客名", description: "描述", base: '/blog/' , themeConfig: { repo: 'https://github.com/<name>/', repoLabel: 'My GitHub', nav: [ { text: 'Home', link: '/' }, ], sidebar: [ ['/', '首页'], ] }, markdown: { lineNumbers: true, extendMarkdown: md => { md.set({ html: true }); md.use(require('markdown-it-katex')); md.use(require("markdown-it-disable-url-encode")); } }, head: [ ['link', { rel: 'stylesheet', href: 'https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.7.1/katex.min.css' }], ['link', { rel: "stylesheet", href: "https://cdnjs.cloudflare.com/ajax/libs/github-markdown-css/2.10.0/github-markdown.min.css" }], ['link',{rel:'shortcut icon',href:'/icons/favicon.ico'}] ] }
|