mirror of
https://github.com/pengzhanbo/vuepress-theme-plume.git
synced 2026-04-23 10:58:13 +08:00
58 lines
1.2 KiB
Handlebars
58 lines
1.2 KiB
Handlebars
import { defineThemeConfig } from 'vuepress-theme-plume'
|
|
{{#if multiLanguage}}
|
|
import { enNavbar, zhNavbar } from './navbar'
|
|
import { enNotes, zhNotes } from './notes'
|
|
{{else}}
|
|
import { navbar } from './navbar'
|
|
import { notes } from './notes'
|
|
{{/if}}
|
|
|
|
/**
|
|
* @see https://theme-plume.vuejs.press/config/basic/
|
|
*/
|
|
export default defineThemeConfig({
|
|
logo: 'https://theme-plume.vuejs.press/plume.png',
|
|
// your git repo url
|
|
docsRepo: '',
|
|
docsDir: '{{ docsDir }}',
|
|
|
|
appearance: true,
|
|
|
|
{{#unless multiLanguage}}
|
|
profile: {
|
|
avatar: 'https://theme-plume.vuejs.press/plume.png',
|
|
name: '{{ siteName }}',
|
|
description: '{{ siteDescription }}',
|
|
// circle: true,
|
|
// location: '',
|
|
// organization: '',
|
|
},
|
|
|
|
navbar,
|
|
notes,
|
|
{{/unless}}
|
|
social: [
|
|
{ icon: 'github', link: '/' },
|
|
],
|
|
|
|
{{#if multiLanguage}}
|
|
locales: {
|
|
{{#each locales}}
|
|
'{{ path }}': {
|
|
profile: {
|
|
avatar: 'https://theme-plume.vuejs.press/plume.png',
|
|
name: '{{ ../siteName }}',
|
|
description: '{{ ../siteDescription }}',
|
|
// circle: true,
|
|
// location: '',
|
|
// organization: '',
|
|
},
|
|
|
|
navbar: {{ prefix }}Navbar,
|
|
notes: {{ prefix }}Notes,
|
|
},
|
|
{{/each}}
|
|
},
|
|
{{/if}}
|
|
})
|