-
Notifications
You must be signed in to change notification settings - Fork 120
/
default.ts
92 lines (90 loc) · 2.31 KB
/
default.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
85
86
87
88
89
90
91
92
import type { ThemeConfig } from '~/types'
// This is the default configuration for the template, please do not modify it directly.
// You can override this configuration in the `.config/user.ts` file.
export const defaultConfig: ThemeConfig = {
site: {
title: '活版印字',
subtitle: 'Typography',
author: 'Moeyua',
description: 'Rediscory the beauty of typography',
website: 'https://astro-theme-typography.vercel.app/',
pageSize: 5,
socialLinks: [
{
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',
},
],
navLinks: [
{
name: 'Posts',
href: '/',
},
{
name: 'Archive',
href: '/archive',
},
{
name: 'Categories',
href: '/categories',
},
{
name: 'About',
href: '/about',
},
],
categoryMap: [{ name: '胡适', path: 'hu-shi' }],
footer: [
'© %year <a target="_blank" href="%website">%author</a>',
'Theme <a target="_blank" href="https://github.com/Moeyua/astro-theme-typography">Typography</a> by <a target="_blank" href="https://moeyua.com">Moeyua</a>',
'Proudly published with <a target="_blank" href="https://astro.build/">Astro</a>',
],
},
appearance: {
theme: 'light',
locale: 'zh-cn',
colorsLight: {
primary: '#2e405b',
background: '#ffffff',
},
colorsDark: {
primary: '#FFFFFF',
background: '#232222',
},
fonts: {
header:
'"HiraMinProN-W6","Source Han Serif CN","Source Han Serif SC","Source Han Serif TC",serif',
ui: '"Source Sans Pro","Roboto","Helvetica","Helvetica Neue","Source Han Sans SC","Source Han Sans TC","PingFang SC","PingFang HK","PingFang TC",sans-serif',
},
},
seo: {
twitter: '@moeyua13',
meta: [],
link: [],
},
rss: {
fullText: true,
},
comment: {
// disqus: { shortname: "typography-astro" },
},
analytics: {
googleAnalyticsId: '',
umamiAnalyticsId: '',
},
latex: {
katex: false,
},
}