forked from AlanDecode/Blog-With-GitHub-Boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconf.py
78 lines (71 loc) · 1.79 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
# -*- coding: utf-8 -*-
"""博客构建配置文件
"""
# For Maverick
site_prefix = "/"
source_dir = "../src/"
build_dir = "../dist/"
index_page_size = 10
archives_page_size = 20
template = {
"name": "Galileo",
"type": "git",
"url": "https://github.com/AlanDecode/Maverick-Theme-Galileo.git",
"branch": "latest"
}
enable_jsdelivr = {
"enabled": True,
"repo": "moneytold/moneytold.github.io@master"
}
# 站点设置
site_name = "实验报告"
site_logo = "${static_prefix}logo.png"
site_build_date = "2020-2-20T16:51+08:00"
author = "chaos"
email = "[email protected]"
author_homepage = "https://github.com/moneytold"
description = "好耍不过人耍人"
key_words = ['Maverick', 'chaos', 'Galileo', 'blog']
language = 'zh-CN'
external_links = [
{
"name": "Maverick",
"url": "https://github.com/AlanDecode/Maverick",
"brief": "🏄 Go My Own Way"
},
{
"name": "像素答疑",
"url": "https://hijiangtao.github.io/2017/07/09/Device-Viewport-and-Pixel-Introduction/",
"brief": "前端各类像素概念以及viewport汇总"
}
]
nav = [
{
"name": "首页",
"url": "${site_prefix}",
"target": "_self"
},
{
"name": "归档",
"url": "${site_prefix}archives/",
"target": "_self"
},
{
"name": "关于",
"url": "${site_prefix}about/",
"target": "_self"
}
]
social_links = [
{
"name": "GitHub",
"url": "https://github.com/moneytold",
"icon": "gi gi-github"
}
]
head_addon = r'''
<meta http-equiv="x-dns-prefetch-control" content="on">
<link rel="dns-prefetch" href="//cdn.jsdelivr.net" />
'''
footer_addon = ''
body_addon = ''