Skip to content

Commit

Permalink
Merge pull request #5 from chevereto/chore/template_sync_b1257d3
Browse files Browse the repository at this point in the history
upstream merge template repository
  • Loading branch information
rodber authored Jan 31, 2025
2 parents 90e697e + 3e4d797 commit 29ad169
Show file tree
Hide file tree
Showing 3 changed files with 1,962 additions and 1,703 deletions.
13 changes: 8 additions & 5 deletions .vuepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,19 @@ project.head.push(
content: 'width=device-width, initial-scale=1.0'
}]
);

if (!project.themeConfig) {
project.themeConfig = {};
}
if (!project.themeConfig.nav) {
project.themeConfig.nav = [];
}
if (!project.plugins) {
project.plugins = [];
}
project.plugins.push(
['@vuepress/medium-zoom', true]
['@vuepress/medium-zoom', true],
['seo', project.themeConfig.seo || {}]
);
if (!project.themeConfig.nav) {
project.themeConfig.nav = [];
}
if (project.themeConfig.nav_before) {
project.themeConfig.nav.unshift(
...project.themeConfig.nav_before
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
},
"author": "Rodolfo Berrios",
"dependencies": {
"vuepress-plugin-seo": "0.1.4",
"vuepress-theme-default-prefers-color-scheme": "https://github.com/rodber/vuepress-theme-default-prefers-color-scheme#2.0.1"
}
}
Loading

0 comments on commit 29ad169

Please sign in to comment.