-
Notifications
You must be signed in to change notification settings - Fork 0
/
hugo.yaml
108 lines (99 loc) · 1.94 KB
/
hugo.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
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
# basic
baseURL: https://thmaster.net
# lang
defaultContentLanguage: zh
defaultContentLanguageInSubdir: false
languages:
zh:
languageCode: zh-CN
weight: 1
title: th-master
theme: "PaperMod"
paginate: 5
# 分类
taxonomies:
tag: tags
category: categories
series: series
menu:
main:
- name: 归档
url: /archives/
weight: 20
- name: 技术
url: /categories/tech/
weight: 21
- name: 生活
url: /categories/life/
weight: 22
- name: fun
url: /categories/fun/
weight: 23
- name: 分类
url: /categories/
weight: 30
- name: 标签
url: /tags/
weight: 40
- name: 系列
url: /series/
weight: 50
- name: 搜索
url: /search/
weight: 60
enableEmoji: true
enableInlineShortcodes: true
enableRobotsTXT: true
buildDrafts: false
buildFuture: false
buildExpired: false
pygmentsUseClasses: true
# https://gohugo.io/getting-started/configuration/#hascjklanguage
hasCJKLanguage: true
outputs:
home:
- HTML
- RSS
- JSON # necessary for search
params:
env: production
description: "th-master's blog"
author: th-master
DateFormat: "2006-01-02"
defaultTheme: dark
ShowReadingTime: true
ShowPostNavLinks: true
ShowBreadCrumbs: true
ShowCodeCopyButtons: true
ShowAllPagesInArchive: true
ShowPageNums: true
ShowWordCount: true
ShowToc: true
TocOpen: true
comments: true
ShowFullTextinRSS: true
# 主页
homeInfoParams:
Title: "Hi :innocent:"
Content: Welcome to my blog
# 社交链接
socialIcons:
- name: github
title: "View Source on Github"
url: "https://github.com/neko-tail/neko-tail.github.io"
- name: rss
title: "RSS"
url: "/index.xml"
assets:
disableHLJS: true
markup:
goldmark:
renderer:
unsafe: true
# 代码高亮
highlight:
noClasses: false
codeFences: true
guessSyntax: true
lineNos: true
style: monokai