Skip to content

Commit

Permalink
cont: nav es
Browse files Browse the repository at this point in the history
  • Loading branch information
srl295 committed Jan 3, 2024
1 parent aaccf88 commit db8e6a5
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,18 @@ export default defineConfig({
es: {
label: 'español',
lang: 'es', // optional, will be added as `lang` attribute on `html` tag
link: '/es' // default /fr/ -- shows on navbar translations menu, can be external
link: '/es', // default /fr/ -- shows on navbar translations menu, can be external
// other locale specific properties...
// title: 'Code Hive Tx, LLC', // same
themeConfig: {
nav: [
{ text: 'Principal', link: '/es/' },
{ text: 'Acerca', link: '/es/about', activeMatch: '\/.*\/(about|resume).*' },
{ text: 'Blog', link: '/es/blog', activeMatch: '\/.*\/(blog|posts).*' },
{ text: 'Contacto', link: '/es/contact' },
{ text: 'Abejas', link: '/es/bees', activeMatch: '\/.*\/(bees).*' },
],
}
}
},
})

0 comments on commit db8e6a5

Please sign in to comment.