-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yaml
73 lines (69 loc) · 1.46 KB
/
config.yaml
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
# 网站的基本url地址
baseURL: https://blog.gujiakai.top
# 网站使用的语言代码
languageCode: 'en-us'
# 网站标题
title: '顾佳凯的网络日志'
# 网站使用的主题
theme: 'hugo-theme-simple'
# google分析
googleAnalytics: "G-2N2G7YVYD1"
# 永久链接
permalinks:
blog: /:year/:month/:slug
# 分页器
paginate: 5
# 博文中使用了中文
hasCJKLanguage: true
# 开启robots.txt
enableRobotsTXT: true
# 网站的菜单栏配置
menu:
main:
- name: "主页"
url: "/"
weight: 1
- name: "归档"
url: "/archive/"
weight: 2
- name: "标签"
url: "/tags/"
weight: 3
- name: "til"
url: "/til/"
weight: 4
- name: "关于"
url: "/about/"
weight: 5
# 参数
params:
description: "A blog focusing on sharing tech and personal experiences"
keywords: "blog,tech,personal,life"
author: "jiakai"
footer: "© 2022-{Year} Made with ❤️ By Jiakai"
# markup设置
markup:
goldmark:
extensions:
definitionList: true
footnote: true
linkify: true
linkifyProtocol: 'https'
strikethrough: true
table: true
taskList: true
typographer: true
parser:
autoHeadingID: true
autoHeadingIDType: 'github'
attribute:
block: false
title: true
renderer:
hardWraps: false
unsafe: true
xhtml: false
tableOfContents:
startLevel: 2
endLevel: 3
ordered: false