-
Notifications
You must be signed in to change notification settings - Fork 1
/
seo-config.js
38 lines (37 loc) · 873 Bytes
/
seo-config.js
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
const CONFIG = require("./config");
export default {
titleTemplate: `%s | ${CONFIG.TITLE}`,
defaultTitle: CONFIG.TITLE,
description: CONFIG.DESCRIPTION,
url: CONFIG.URL,
openGraph: {
title: "Desktop of Samuel",
description: "UI/UX 設計師,談談科技、Gadget心得。",
url: CONFIG.URL,
images: [
{
url: CONFIG.URL + CONFIG.OG_IMAGE,
},
],
type: "website",
locale: CONFIG.LOCALE,
site_name: CONFIG.TITLE,
publisher: CONFIG.TITLE,
},
twitter: {
handle: "@desktopofsamuel",
site: "@desktopofsamuel",
cardType: "summary_large_image",
},
additionalLinkTags: [
{
rel: "icon",
href: "https://desktopofsamuel.com/favicon.png",
},
{
rel: "apple-touch-icon",
href: "https://desktopofsamuel.com/touch-icon-ipad.jpg",
sizes: "76x76",
},
],
};