Skip to content

Commit

Permalink
docs: adjust page title
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelass committed May 9, 2024
1 parent d84fcf4 commit 39a49e4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions homepage/theme.config.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import Link from "next/link";
import { useRouter } from "next/router";

import { Logo } from "./components/logo";

Expand All @@ -18,7 +19,7 @@ const themeConfig = {
<meta property="og:title" content="Captain" />
<meta
property="og:description"
content="A platform that evolves to your needs and brings your ideas to life"
content="Your all-in-one platform to build and use AI apps effortlessly on your own computer"
/>
<meta property="og:image" content="/images/social-card.png" />
<link rel="icon" href="/favicon.ico" sizes="16x16 32x32 48x48" type="image/x-icon" />
Expand All @@ -31,8 +32,9 @@ const themeConfig = {
primaryHue: 176,
primarySaturation: 60,
useNextSeoProps() {
const { asPath } = useRouter();
return {
titleTemplate: "%s – Captain",
titleTemplate: asPath === "/" ? "Captain - The AI platform" : "%s – Captain",
};
},
project: {
Expand Down

0 comments on commit 39a49e4

Please sign in to comment.