-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy paththeme.config.jsx
More file actions
50 lines (48 loc) · 1.27 KB
/
theme.config.jsx
File metadata and controls
50 lines (48 loc) · 1.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
import { useRouter } from "next/router";
import { useConfig } from "nextra-theme-docs";
export default {
logo: <span className="font-futura">00</span>,
project: {
link: "https://github.com/technomancy-dev/00",
},
docsRepositoryBase: "https://github.com/technomancy-dev/00-docs",
footer: false,
useNextSeoProps() {
return {
titleTemplate: "00 | %s",
};
},
head: () => {
const { asPath, defaultLocale, locale } = useRouter();
const { frontMatter } = useConfig();
const url =
"https://docs.double-zero.cloud" +
(defaultLocale === locale ? asPath : `/${locale}${asPath}`);
return (
<>
<meta property="og:url" content={url} />
<meta
property="og:title"
content={frontMatter.title || "Email for the people."}
/>
<meta
property="og:description"
content={
frontMatter.description ||
"Double-zero is a self-hostable email monitoring and sending service built ontop of AWS SES."
}
/>
</>
);
},
// text: (
// <span>
// {new Date().getFullYear()} ©{' '}
// <a href="https://double-zero.cloud" target="_blank">
// 00
// </a>
// </span>
// )
// }
// ... other theme options
};