forked from MeiK2333/github-style
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.template.toml
50 lines (47 loc) · 1.87 KB
/
config.template.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
baseURL = "https://meik2333.com/"
languageCode = "zh-cn"
title = "MeiK's blog"
theme = "github-style"
googleAnalytics = "UA-123456-789"
pygmentsCodeFences = true
pygmentsUseClasses = true
[params]
author = "MeiK"
description = "In solitude, where we are least alone."
github = "MeiK2333"
facebook = "MeiK2333"
twitter = "MeiK2333"
linkedin = "MeiK2333"
instagram = "MeiK2333"
tumblr = "MeiK2333"
email = "[email protected]"
url = "https://meik2333.com"
keywords = "blog, google analytics"
rss = true
lastmod = true
favicon = "/images/github.png"
location = "China"
userStatusEmoji = "😀"
enableGitalk = true
[params.gitalk]
clientID = "Your client ID" # Your client ID
clientSecret = "Your client secret" # Your client secret
repo = "LuvSia" # 您的博客的github地址Repository name,例如:xxxx.github.io
owner = "ventusoon" # 您的GitHub ID
admin = "ventusoon" # 您的GitHub ID
id = "location.pathname" # 文章页面的链接地址就是ID
labels = "gitalk" # Github issue labels. If you used to use Gitment, you can change it
perPage = 15 # Pagination size, with maximum 100.
pagerDirection = "last" # Comment sorting direction, available values are 'last' and 'first'.
createIssueManually = true # 设置为true,如果是管理员登录,会自动创建issue,如果是false,需要管理员手动添加第一个评论(issue)
distractionFreeMode = false # Enable hot key (cmd|ctrl + enter) submit comment.
proxy = "https://cors-anywhere.azm.workers.dev/https://github.com/login/oauth/access_token" # 可以自行添加反向代理
[[params.links]]
title = "Link"
href = "https://github.com/meik2333"
[[params.links]]
title = "Link2"
href = "https://meik2333.com"
icon = "https://meik2333.com/images/avatar.png"
[frontmatter]
lastmod = ["lastmod", ":fileModTime", ":default"]