-
Notifications
You must be signed in to change notification settings - Fork 1
/
hugo.yaml
103 lines (99 loc) · 2.43 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
# Don't remove _merge, which imports default config
theme: hugo-theme-yue
baseURL: https://cyrusyip.org/
defaultContentLanguage: en
defaultContentLanguageInSubdir: true
enableGitInfo: false
enableEmoji: true
enableRobotsTXT: true
permalinks:
page:
posts: /posts/:year/:month/:day/:slug/
ignoreFiles: ["\\.Rmd$", "\\.Rmarkdown$", "_cache$", "\\.knit\\.md$", "\\.utf8\\.md$"] # Ignore R Markdown files
params:
_merge: deep
rssFullContent: true
homePagerSize: 10
sectionPagerSize: 10000
images:
# Default image used in Open Graph, see https://gohugo.io/templates/embedded/#configure-open-graph
- favicon.ico # /static/favicon.ico
tocFolded: false
frontmatter:
lastmod: ['lastmod', ':default']
markup:
_merge: deep
goldmark:
renderer:
unsafe: true
parser:
wrapStandAloneImageWithinParagraph: false # Used with image render hook
extensions:
extras:
superscript:
enable: true
# 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: Cyrus Yip's blog
weight: 10
menus:
main:
- name: Home
pageRef: /
weight: 10
- name: Posts
pageRef: /posts
weight: 20
- name: Tags
pageRef: /tags
weight: 30
- name: About
pageRef: /about
weight: 40
params:
dateFormat: Jan 02, 2006
author: Cyrus Yip
footer:
copyright:
yearStart: 2020
# yearEnd: 2024 # Optional, default value: current year
author: Cyrus Yip
zh-CN:
hasCJKLanguage: true
summaryLength: 100
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: /about
weight: 40
- name: 订阅
pageRef: /subscribe
weight: 50
params:
dateFormat: 2006年1月02日
author: 叶寻
footer:
copyright:
yearStart: 2020
# yearEnd: 2024
author: 叶寻