Skip to content

Commit

Permalink
Merge pull request #1631 from milvus-io/preview
Browse files Browse the repository at this point in the history
Preview
  • Loading branch information
shanghaikid authored Sep 14, 2024
2 parents c7deb72 + 1c50a7b commit 9a17150
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 4 additions & 0 deletions src/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ function MyApp({ Component, pageProps }) {
content="https://assets.zilliz.com/meta_image_milvus_d6510e10e0.png"
/>
<meta property="og:type" content="WebSite" />
<meta
name="keywords"
content="milvus, vector database, milvus docs, milvus blogs"
/>
</Head>
<Component {...pageProps} />
<Script
Expand Down
6 changes: 4 additions & 2 deletions src/pages/blog/[id].jsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,15 @@ export default function Template(props) {
navigate(`/blog?page=1#${tag}`);
};

const metaTitle = `${title} - Milvus Blog`;

return (
<main>
<Layout t={t}>
<Head>
<title>{title}</title>
<title>{metaTitle}</title>
<meta name="description" content={desc} />
<meta property="og:title" content={title} />
<meta property="og:title" content={metaTitle} />
<meta property="og:description" content={desc} />
<meta property="og:url" content={shareUrl} />
<meta property="og:image" content={`https://${cover}`} />
Expand Down

0 comments on commit 9a17150

Please sign in to comment.