File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,16 +7,19 @@ project.head.push(
77 content : 'width=device-width, initial-scale=1.0'
88 } ]
99) ;
10-
10+ if ( ! project . themeConfig ) {
11+ project . themeConfig = { } ;
12+ }
13+ if ( ! project . themeConfig . nav ) {
14+ project . themeConfig . nav = [ ] ;
15+ }
1116if ( ! project . plugins ) {
1217 project . plugins = [ ] ;
1318}
1419project . plugins . push (
15- [ '@vuepress/medium-zoom' , true ]
20+ [ '@vuepress/medium-zoom' , true ] ,
21+ [ 'seo' , project . themeConfig . seo || { } ]
1622) ;
17- if ( ! project . themeConfig . nav ) {
18- project . themeConfig . nav = [ ] ;
19- }
2023if ( project . themeConfig . nav_before ) {
2124 project . themeConfig . nav . unshift (
2225 ...project . themeConfig . nav_before
Original file line number Diff line number Diff line change 1616 },
1717 "author" : " Rodolfo Berrios" ,
1818 "dependencies" : {
19+ "vuepress-plugin-seo" : " 0.1.4" ,
1920 "vuepress-theme-default-prefers-color-scheme" : " https://github.com/rodber/vuepress-theme-default-prefers-color-scheme#2.0.1"
2021 }
2122}
You can’t perform that action at this time.
0 commit comments