forked from AlanDecode/Blog-With-GitHub-Boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
conf.py
86 lines (80 loc) · 1.89 KB
/
conf.py
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
# -*- coding: utf-8 -*-
"""博客构建配置文件
"""
# For Maverick
site_prefix = "/Blog-With-GitHub-Boilerplate/"
source_dir = "../src/"
build_dir = "../dist/"
index_page_size = 10
archives_page_size = 20
template = {
"name": "Galileo",
"type": "local",
"path": "../Galileo"
}
enable_jsdelivr = {
"enabled": False,
"repo": ""
}
# 站点设置
site_name = "我的个人博客"
site_logo = "${static_prefix}logo.png"
site_build_date = "2019-12-18T16:51+08:00"
author = "熊猫小A"
email = "[email protected]"
author_homepage = "https://www.imalan.cn"
description = "只坚持一种正义。我的正义。"
key_words = ['Maverick', '熊猫小A', 'Galileo', 'blog']
language = 'zh-CN'
external_links = [
{
"name": "Maverick",
"url": "https://github.com/AlanDecode/Maverick",
"brief": "🏄 Go My Own Way."
},
{
"name": "三無計劃",
"url": "https://www.imalan.cn",
"brief": "熊猫小A的主页。"
}
]
nav = [
{
"name": "首页",
"url": "${site_prefix}",
"target": "_self"
},
{
"name": "归档",
"url": "${site_prefix}archives/",
"target": "_self"
},
{
"name": "关于",
"url": "${site_prefix}about/",
"target": "_self"
}
]
social_links = [
{
"name": "Twitter",
"url": "https://twitter.com/AlanDecode",
"icon": "gi gi-twitter"
},
{
"name": "GitHub",
"url": "https://github.com/AlanDecode",
"icon": "gi gi-github"
},
{
"name": "Weibo",
"url": "https://weibo.com/5245109677/",
"icon": "gi gi-weibo"
}
]
head_addon = r'''
<meta http-equiv="x-dns-prefetch-control" content="on">
<link rel="dns-prefetch" href="//cdn.jsdelivr.net" />
'''
footer_addon = ''
body_addon = ''