-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.toml
142 lines (121 loc) · 4.85 KB
/
config.toml
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
baseURL = "https://yuqingc.github.io/"
languageCode = "en-us"
pygmentsCodeFences=true
theme = "Mainroad"
paginate = "10" # Number of posts per page
summaryLength = 50
hasCJKLanguage = true # To make summary displays correctly
publishDir = "public" # Incase the default public dir change
DefaultContentLanguage = "zh-cn"
# Language configs
[languages]
[languages.zh-cn]
title = "黑人de问号🌚❓"
contentDir = "content/zh-cn"
languageName = "简体中文"
weight = 1
[languages.zh-cn.Params]
subtitle = "" # Subtitle of your site. Used in site header
[languages.zh-cn.Params.logo]
image = "images/avatar.png" # Logo image. Path relative to "static"
title = "黑人de问号🌚❓" # Logo title, otherwise will use site title
subtitle = "无产阶级工人/Coder 🔨" # Logo subtitle
[languages.zh-cn.menu]
[[languages.zh-cn.menu.main]]
identifier = "source-cn"
name = "编辑"
url = "https://github.com/yuqingc/yuqingc.github.io"
weight = 103
[[languages.zh-cn.menu.main]]
identifier = "issues-cn"
name = "反馈"
url = "https://github.com/yuqingc/yuqingc.github.io/issues"
weight = 104
[[languages.zh-cn.menu.main]]
identifier = "goen"
name = "English"
url = "/en"
weight = 105
[languages.zh-cn.Author] # Used in authorbox
name = "黑人de问号🌚❓"
bio = "雨下整夜..."
avatar = "images/avatar.png"
# English Lang Configs
[languages.en]
title = "Matt's Home"
contentDir = "content/en"
languageName = "English"
weight = 2
[languages.en.Params]
subtitle = "Coder 🔨" # Subtitle of your site. Used in site header
[languages.en.Params.logo]
image = "images/avatar.png" # Logo image. Path relative to "static"
title = "Matt's Home" # Logo title, otherwise will use site title
subtitle = "I might be coding right now... 🔨" # Logo subtitle
[languages.en.menu]
[[languages.en.menu.main]]
identifier = "source-en"
name = "Edit This Page"
url = "https://github.com/yuqingc/yuqingc.github.io"
weight = 103
[[languages.en.menu.main]]
identifier = "issues-en"
name = "Feedback"
url = "https://github.com/yuqingc/yuqingc.github.io/issues"
weight = 104
[[languages.en.menu.main]]
identifier = "gocn"
name = "简体中文"
url = "/zh-cn"
weight = 105
[languages.en.Author] # Used in authorbox
name = "Matt"
bio = "Why you always in a mood?"
avatar = "images/avatar.png"
############################# NON-LANG CONFIGS ##################################
[markup]
[markup.goldmark]
[markup.goldmark.renderer]
unsafe = true # enable html in markdown files
[Params]
description = "John Doe's Personal blog about everything" # Site description. Used in meta description
copyright = "yuqingc" # copyright holder, otherwise will use site title
opengraph = true # Enable OpenGraph if true
twitter_cards = true # Enable Twitter Cards if true
readmore = false # Show "Read more" button in list if true
authorbox = true # Show authorbox at bottom of pages if true
toc = true # Enable Table of Contents
pager = true # Show pager navigation (prev/next links) at the bottom of pages if true
post_navigation = true # Show post navigation at bottom of pages if true
post_meta = ["date", "categories", "translations"] # Order of post meta information
mainSections = ["posts"] # specify section pages to show on home page and the "Recent articles" widget
#dateformat = "2006-01-02" # change the format of dates
#mathjax = true # Enable MathJax
#mathjaxPath = "https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" # Specify MathJax path
#mathjaxConfig = "TeX-AMS-MML_HTMLorMML" # Specify MathJax config
highlightColor = "#1E88E5" # Override highlight color #e22d30
customCSS = ["css/custom.css"] # Include custom CSS files
[Params.sidebar]
home = "right" # Configure layout for home page
list = "right" # Configure layout for list pages
single = "right" # Configure layout for single pages
# Enable widgets in given order
widgets = ["ddg-search", "recent", "taglist", "categories", "social"]
[Params.widgets]
recent_num = 10 # Set the number of articles in the "Recent articles" widget
tags_counter = true # Enable counter for each tag in "Tags" widget (disabled by default)
[Params.widgets.social]
# Enable parts of social widget
# facebook = "username"
# twitter = "username"
# instagram = "username"
# linkedin = "username"
# telegram = "username"
github = "yuqingc"
# gitlab = "username"
# bitbucket = "username"
email = "[email protected]"
[[Params.widgets.social.custom]]
title = "(゜-゜)つロ 干杯~"
url = "https://space.bilibili.com/76849204"
icon = "bilibili.svg"