update target of internal link (#271)

Follows https://gitea.com/gitea/gitea-docusaurus/pulls/44

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-on: https://gitea.com/gitea/blog/pulls/271
Co-authored-by: HesterG <hestergong@gmail.com>
Co-committed-by: HesterG <hestergong@gmail.com>
This commit is contained in:
HesterG 2023-07-14 21:26:48 +00:00 committed by techknowlogick
parent 998c0c3a70
commit 0a9717cab9
1 changed files with 6 additions and 0 deletions

View File

@ -194,6 +194,7 @@ const config = {
alt: 'Gitea Logo',
src: 'img/logo.svg',
href: 'https://about.gitea.com/',
target: '_self',
},
items: [
{
@ -201,12 +202,14 @@ const config = {
label: 'Docs',
position: 'left',
className: 'internal-href',
target: '_self',
},
{
href: 'https://docs.gitea.com/api/1.19/',
label: 'API',
position: 'left',
className: 'internal-href',
target: '_self',
},
{
to: '/',
@ -227,12 +230,14 @@ const config = {
position: 'right',
label: 'Support',
className: 'internal-href',
target: '_self',
},
{
href: 'https://gitea.com/user/login',
label: 'Sign In',
position: 'right',
className: 'internal-href signin-button',
target: '_self',
},
],
},
@ -246,6 +251,7 @@ const config = {
label: 'Tutorial',
href: 'https://docs.gitea.com/',
className: 'internal-href',
target: '_self',
},
],
},