forked from moeyua/astro-theme-typography
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy paththeme.config.ts
85 lines (84 loc) · 1.88 KB
/
theme.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
export const THEME_CONFIG: App.Locals['config'] = {
/** blog title */
title: "活版印字",
/** your name */
author: "Typography",
/** website description */
desc: "Rediscory the beauty of typography",
/** your deployed domain */
website: "https://astro-theme-typography.vercel.app/",
/** your locale */
locale: "en-us",
/** theme style */
themeStyle: "light",
/** your socials */
socials: [
{
name: "github",
href: "https://github.com/moeyua/astro-theme-typography",
},
{
name: "rss",
href: "/atom.xml",
},
{
name: "twitter",
href: "https://github.com/moeyua/astro-theme-typography",
},
{
name: "mastodon",
href: "https://github.com/moeyua/astro-theme-typography",
}
],
/** your header info */
header: {
twitter: "@moeyua13",
},
/** your navigation links */
navs: [
{
name: "Posts",
href: "/posts/page/1",
},
{
name: "Archive",
href: "/archive",
},
{
name: "Categories",
href: "/categories"
},
{
name: "About",
href: "/about",
},
],
/** your category name mapping, which the `path` will be shown in the url */
category_map: [
{ name: "胡适", path: "hu-shi" },
],
/** your comment provider */
comments: {
disqus: {
// please change this to your disqus shortname
shortname: "typography-astro",
},
// giscus: {
// repo: 'moeyua/astro-theme-typography',
// repoId: 'R_kgDOKy9HOQ',
// category: 'General',
// categoryId: 'DIC_kwDOKy9HOc4CegmW',
// mapping: 'title',
// strict: '0',
// reactionsEnabled: '1',
// emitMetadata: '1',
// inputPosition: 'top',
// theme: 'light',
// lang: 'zh-CN',
// loading: 'lazy',
// },
// twikoo: {
// envId: "https://twikoo-tau-flame.vercel.app",
// }
}
}