forked from ladit/astro-blog-zozo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.ts
63 lines (59 loc) · 2.24 KB
/
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
import type { PostHideElements } from '~/content/config';
export const Site = 'https://astro-blog-zozo.pages.dev';
export const SiteLanguage = 'zh';
export const SiteTitle = '无尽光芒';
export const SiteDescription = '踏歌长行,梦想永在';
export const FooterDescription = '肆意闪耀';
export const AdminName = 'Ladit';
export const PageSize = 15;
// socialPlatform => userName
// check components/Header.astro socialConfig for more info
export const Socials: Record<string, Record<string, string>> = {
mail: { url: 'mailto:[email protected]' },
github: { url: 'https://github.com/ladit/astro-blog-zozo' },
x: { url: 'https://x.com/userName' },
mastodon: { url: 'https://mastodon.social/@userName' },
facebook: { url: 'https://facebook.com/userName' },
instagram: { url: 'https://instagram.com/userName' },
telegram: { url: 'https://t.me/@userName' },
youtube: { url: 'https://youtube.com/@userName' },
skype: { url: 'https://skype.com/userName' },
slack: { url: 'https://slack.com/userName' },
messenger: { url: 'https://messenger.com/userName' },
whatsapp: { url: 'https://whatsapp.com/userName' },
snapchat: { url: 'https://snapchat.com/userName' },
line: { url: 'https://line.com/userName' },
twitch: { url: 'https://twitch.com/userName' },
weibo: { url: 'https://weibo.com/userName' },
bilibili: { url: 'https://space.bilibili.com/userName' },
dingding: { url: 'https://dingtalk.com/userName' },
zhihu: { url: 'https://zhihu.com/userName' },
douban: { url: 'https://douban.com/userName' },
rss: { url: '/rss.xml' },
};
// doc: https://giscus.app
// data-theme is auto changed between noborder_light / noborder_gray
export const GiscusConfig: Record<string, string> = {
'data-repo': 'ladit/astro-blog-zozo',
'data-repo-id': 'R_kgDOLgobXQ',
'data-category': 'Announcements',
'data-category-id': 'DIC_kwDOLgobXc4Cd_N6',
'data-mapping': 'pathname',
'data-strict': '0',
'data-reactions-enabled': '1',
'data-emit-metadata': '0',
'data-input-position': 'top',
'data-lang': 'zh-CN',
'data-loading': 'lazy',
crossorigin: 'anonymous',
async: '',
};
export type HideElements =
| PostHideElements
| 'logo'
| 'search'
| 'themeToggler'
| 'siteDescription'
| 'footerDescription';
// Always hide elements from site
export const Hide: HideElements[] = [];