-
Notifications
You must be signed in to change notification settings - Fork 5
/
hugo.yaml
95 lines (91 loc) · 2.76 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
# Documentation: https://gohugo.io/getting-started/configuration
# Don't remove _merge, which imports default config
theme: hugo-theme-yue
baseURL: https://yue.cyrusyip.org/ # Change this to your real domain name, e.g. https://my-cool-domain.org/
defaultContentLanguage: en
defaultContentLanguageInSubdir: true
enableGitInfo: false # Set lastmod from git history, this may increase build time
enableEmoji: true # Emoji list: https://gohugo.io/quick-reference/emojis/
enableRobotsTXT: true
params:
_merge: deep # Import default config
rssFullContent: true
homePagerSize: 5
sectionPagerSize: 10000 # Default: 10, set this to a large number to remove pagination
images:
# Default image used in Open Graph, see https://gohugo.io/templates/embedded/#configure-open-graph
- favicon.ico # /static/favicon.ico
frontmatter:
lastmod: ['lastmod', ':default'] # lastmod in front matter has highest precedence
markup:
_merge: deep # Import default config
goldmark:
renderer:
unsafe: true # Allow HTML code in Markdown, see https://gohugo.io/getting-started/configuration-markup/#rendererunsafe
# Any key not defined under a languages will fall back to the global value in the root of configuration
languages:
en:
contentDir: content/en
languageCode: en-US
languageDirection: ltr
languageName: English
title: Yue # Shown in home page
weight: 10
menus:
main:
- name: Home
pageRef: /
weight: 10
- name: Posts
pageRef: /posts
weight: 20
- name: Tags
pageRef: /tags
weight: 30
- name: Categories
pageRef: /categories
weight: 40
- name: About
pageRef: /about
weight: 50
params:
dateFormat: Jan 02, 2006 # See https://gohugo.io/functions/time/format/
author: Jane Doe # Default author, supports single value or list, used in single page
footer:
copyright:
yearStart: 2023 # Optional
yearEnd: 2024 # Optional, default value: current year
author: Jane Doe
zh-CN:
hasCJKLanguage: true
contentDir: content/zh-CN
languageCode: zh-CN
languageDirection: ltr
languageName: 中文
title: 月
weight: 20
menus:
main:
- name: 主页
pageRef: /
weight: 10
- name: 文章
pageRef: /posts
weight: 20
- name: 标签
pageRef: /tags
weight: 30
- name: 类别
pageRef: /categories
weight: 40
- name: 关于
pageRef: /about
weight: 50
params:
dateFormat: 2006年1月02日
author: 小月
footer:
copyright:
yearStart: 2023
# yearEnd: 2024
author: 小月