-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.toml
88 lines (71 loc) · 2.87 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
baseURL = "https://w01fb0ss.github.io" # <head> 里面的 baseurl 信息,填你的博客地址
title = "w01fb0ss`s blog" # 浏览器的标题
languageCode = "zh-cn" # 语言
hasCJKLanguage = true # 开启可以让「字数统计」统计汉字
theme = "LeaveIt" # 主题 (需要自己下载)
paginate = 11 # 每页的文章数
enableEmoji = true # 支持 Emoji
enableRobotsTXT = true # 支持 robots.txt
preserveTaxonomyNames = true
toc = true # 是否开启目录
autoCollapseToc = false # Auto expand and collapse toc # 目录自动展开/折叠
[blackfriday]
hrefTargetBlank = true
nofollowLinks = true
noreferrerLinks = true
[Permalinks]
posts = "/:year/:filename/"
[menu]
[[menu.main]]
name = "Blog"
url = "/posts/"
weight = 1
[[menu.main]]
name = "Categories"
url = "/categories/"
weight = 2
[[menu.main]]
name = "Tags"
url = "/tags/"
weight = 3
[[menu.main]]
name = "About"
url = "/about/"
weight = 4
[params]
since = 2019
author = "w01fb0ss" # Author's name
avatar = "/me/avatar.jpg" # Author's avatar
subtitle = "Just for Fun" # Subtitle
cdn_url = "" # Base CDN URL
home_mode = "" # post or other
enableGitalk = true # gitalk 评论系统
google_verification = ""
description = "w01fb0ss 的个人博客" # (Meta) 描述
keywords = "blog, KMS, Hugo, GNU/Linux, Linux" # site keywords
beian = ""
baiduAnalytics = ""
googleAnalytics = "" # Google 统计 id
license= '本文采用<a rel="license" href="http://creativecommons.org/licenses/by-nc/4.0/" target="_blank">知识共享署名-非商业性使用 4.0 国际许可协议</a>进行许可'
[params.social]
# GitHub = ""
# Twitter = ""
# Email = ""
# Instagram = ""
# Wechat = "/images/me/wechat.png" # Wechat QRcode image
# Facebook = ""
# Telegram = ""
# Dribbble = ""
# Medium = ""
[params.gitalk] # Github: https://github.com/gitalk/gitalk
clientID = "1179a38ac904130ae2bf" # Your client ID
clientSecret = "94a570cd5b595699757d0d05972a9f2cafa2873d" # Your client secret
repo = "w01fb0ss.github.io" # The repo to store comments
owner = "w01fb0ss" # Your GitHub ID
admin= "w01fb0ss" # Required. Github repository owner and collaborators. (Users who having write access to this repository)
id= "location.pathname" # The unique id of the page.
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 # If it is 'false', it is auto to make a Github issue when the administrators login.
distractionFreeMode= false # Enable hot key (cmd|ctrl + enter) submit comment.