修改:seo优化,及logo更换
This commit is contained in:
@@ -71,7 +71,7 @@ const config = {
|
|||||||
title: 'ZHub',
|
title: 'ZHub',
|
||||||
logo: {
|
logo: {
|
||||||
alt: 'ZHub Logo',
|
alt: 'ZHub Logo',
|
||||||
src: 'img/logo.svg',
|
src: 'img/logo.png',
|
||||||
},
|
},
|
||||||
items: [
|
items: [
|
||||||
{type: 'docSidebar', sidebarId: 'tutorialSidebar', position: 'left', label: '文档',},
|
{type: 'docSidebar', sidebarId: 'tutorialSidebar', position: 'left', label: '文档',},
|
||||||
@@ -117,9 +117,12 @@ const config = {
|
|||||||
{name: 'keywords', content: '消息中间件,消息队列,RPC,发布订阅,微服务,Java,SpringBoot'},
|
{name: 'keywords', content: '消息中间件,消息队列,RPC,发布订阅,微服务,Java,SpringBoot'},
|
||||||
{name: 'description', content: 'ZHub 是一个轻量级、高性能的消息中间件,支持发布订阅、RPC调用、延时消息、广播等功能,适用于微服务架构'},
|
{name: 'description', content: 'ZHub 是一个轻量级、高性能的消息中间件,支持发布订阅、RPC调用、延时消息、广播等功能,适用于微服务架构'},
|
||||||
{property: 'og:type', content: 'website'},
|
{property: 'og:type', content: 'website'},
|
||||||
|
{property: 'og:url', content: 'https://zhub.dev'},
|
||||||
{property: 'og:title', content: 'ZHub - 轻量级消息中间件'},
|
{property: 'og:title', content: 'ZHub - 轻量级消息中间件'},
|
||||||
{property: 'og:description', content: '高性能、轻量级的消息中间件,支持发布订阅、RPC调用、延时消息等功能'},
|
{property: 'og:description', content: '高性能、轻量级的消息中间件,支持发布订阅、RPC调用、延时消息等功能'},
|
||||||
{property: 'og:image', content: 'https://zhub.dev/img/docusaurus-social-card.jpg'},
|
{property: 'og:image', content: 'https://zhub.dev/img/docusaurus-social-card.jpg'},
|
||||||
|
{property: 'og:site_name', content: 'ZHub'},
|
||||||
|
{property: 'og:locale', content: 'zh_CN'},
|
||||||
{name: 'twitter:card', content: 'summary_large_image'},
|
{name: 'twitter:card', content: 'summary_large_image'},
|
||||||
{name: 'twitter:title', content: 'ZHub - 轻量级消息中间件'},
|
{name: 'twitter:title', content: 'ZHub - 轻量级消息中间件'},
|
||||||
{name: 'twitter:description', content: '高性能、轻量级的消息中间件,支持发布订阅、RPC调用、延时消息等功能'},
|
{name: 'twitter:description', content: '高性能、轻量级的消息中间件,支持发布订阅、RPC调用、延时消息等功能'},
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ export default function Home() {
|
|||||||
return (
|
return (
|
||||||
<Layout
|
<Layout
|
||||||
title={`${siteConfig.title}`}
|
title={`${siteConfig.title}`}
|
||||||
description="Description will go into a meta tag in <head />">
|
description={siteConfig.tagline}>
|
||||||
<HomepageHeader />
|
<HomepageHeader />
|
||||||
<main>
|
<main>
|
||||||
<HomepageFeatures />
|
<HomepageFeatures />
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 156 KiB |
BIN
static/img/logo.png
Normal file
BIN
static/img/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 156 KiB |
Reference in New Issue
Block a user