Skip to content

Commit

Permalink
seo tiempos
Browse files Browse the repository at this point in the history
  • Loading branch information
rodber committed Dec 8, 2024
1 parent ea2e8e5 commit 51f2fe9
Show file tree
Hide file tree
Showing 5 changed files with 24,844 additions and 3,275 deletions.
2 changes: 1 addition & 1 deletion deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ fi

if [ "$1" = 'prod' ]; then
echo 'yarn: Build VuePress'
yarn build
NODE_OPTIONS=--openssl-legacy-provider yarn build

cd blog/.vuepress/dist

Expand Down
7 changes: 2 additions & 5 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const removeMd = require('remove-markdown')
const path = require('path')
const pick = require('lodash/pick')

module.exports = themeConfig => {
module.exports = (themeConfig) => {
/**
* Default theme configuration
*/
Expand Down Expand Up @@ -89,9 +89,6 @@ module.exports = themeConfig => {
/**
* Integrate plugins
*/

const enableSmoothScroll = themeConfig.smoothScroll === true

const plugins = [
'@vuepress/plugin-nprogress',
['@vuepress/medium-zoom', true],
Expand All @@ -102,7 +99,7 @@ module.exports = themeConfig => {
},
],
['@vuepress/blog', blogPluginOptions],
['smooth-scroll', enableSmoothScroll],
['seo', themeConfig.seo || {}],
]

/**
Expand Down
Loading

0 comments on commit 51f2fe9

Please sign in to comment.