diff --git a/docusaurus.config.js b/docusaurus.config.js index 668a1e00..6faf6336 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -153,6 +153,7 @@ const config = { alt: 'Gitea Logo', src: 'img/gitea.svg', href: 'https://about.gitea.com/', + target: '_self', }, items: [ { @@ -172,6 +173,7 @@ const config = { label: 'Blog', href: 'https://blog.gitea.com', className: 'internal-href', + target: '_self', }, { type: 'custom-apiDropdown', @@ -212,6 +214,7 @@ const config = { label: 'Sign In', position: 'right', className: 'internal-href signin-button', + target: '_self', }, ], }, diff --git a/i18n/zh-cn/docusaurus-theme-classic/navbar.json b/i18n/zh-cn/docusaurus-theme-classic/navbar.json index 4ab02bea..ce9f476e 100644 --- a/i18n/zh-cn/docusaurus-theme-classic/navbar.json +++ b/i18n/zh-cn/docusaurus-theme-classic/navbar.json @@ -10,5 +10,8 @@ }, "item.label.Support": { "message": "支持" + }, + "item.label.Blog": { + "message": "博客" } }