mirror of
https://gitea.com/gitea/docs.git
synced 2026-09-20 04:58:52 +00:00
update header to make it the same as blog (#43)
Follows https://gitea.com/gitea/blog/pulls/266, should wait for the PR because it has href points to https://blog.gitea.com PC:  Mobile:  Reviewed-on: https://gitea.com/gitea/gitea-docusaurus/pulls/43 Co-authored-by: HesterG <[email protected]> Co-committed-by: HesterG <[email protected]>
This commit is contained in:
+14
-1
@@ -152,6 +152,7 @@ const config = {
|
||||
logo: {
|
||||
alt: 'Gitea Logo',
|
||||
src: 'img/gitea.svg',
|
||||
href: 'https://about.gitea.com/',
|
||||
},
|
||||
items: [
|
||||
{
|
||||
@@ -166,6 +167,12 @@ const config = {
|
||||
position: 'left',
|
||||
activeBaseRegex: 'api/(1.19|1.20|next)/',
|
||||
},
|
||||
{
|
||||
position: 'left',
|
||||
label: 'Blog',
|
||||
href: 'https://blog.gitea.com',
|
||||
className: 'internal-href',
|
||||
},
|
||||
{
|
||||
type: 'custom-apiDropdown',
|
||||
label: 'API Version',
|
||||
@@ -199,7 +206,13 @@ const config = {
|
||||
position: 'right',
|
||||
label: 'Support',
|
||||
activeBaseRegex: 'help/seek-help',
|
||||
}
|
||||
},
|
||||
{
|
||||
href: 'https://gitea.com/user/login',
|
||||
label: 'Sign In',
|
||||
position: 'right',
|
||||
className: 'internal-href signin-button',
|
||||
},
|
||||
],
|
||||
},
|
||||
footer: {
|
||||
|
||||
Reference in New Issue
Block a user