-
Notifications
You must be signed in to change notification settings - Fork 0
/
blog.config.ts
49 lines (48 loc) · 1.16 KB
/
blog.config.ts
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
import { NextSeoProps } from 'next-seo';
type BlogConfigOptions = {
name: string; // used for footer and RSS feed
title: string;
description: string;
url: string;
comment:
| { type: 'utterances'; repo: string }
| {
type: 'giscus';
repo: string;
repoId: string;
category: string;
categoryId: string;
lang?: 'ko' | 'en'; // defaults to 'en'
lazy?: boolean;
}
| null;
googleAnalyticsId?: string; // gtag id
};
export const BlogConfig: BlogConfigOptions = {
name: 'xo',
title: 'Ambienxo',
description: 'Ambienxo, Next.js Theme for minimalists.',
url: 'https://ambienxo.vercel.app',
comment: {
type: 'giscus',
repo: 'blurfx/ambienxo',
repoId: 'R_kgDOJOhU2Q',
category: 'Comments',
categoryId: 'DIC_kwDOJOhU2c4CVKFk',
},
};
export const SEOConfig: NextSeoProps = {
title: BlogConfig.title,
description: BlogConfig.description,
canonical: BlogConfig.url,
openGraph: {
title: BlogConfig.title,
description: BlogConfig.description,
url: BlogConfig.url,
images: [
{
url: `${BlogConfig.url}/images/thumbnail.png`,
},
],
},
};