-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathhugo.yaml
108 lines (93 loc) · 1.95 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
baseurl: "/"
languageCode: "zh-CN"
title: "BZR | BruceZhao's Blog"
theme: "hugo-paged"
ignoreFiles: ["\\.Rmd$", "\\.Rmarkdown$", "_cache$"]
hasCJKLanguage: true
enableEmoji: true
footnotereturnlinkcontents: "↩"
enableRobotsTXT: true
outputs:
home: [html, rss, json]
## 文章链接设置
## slug: 文章开头可以自己设定,也可以使用默认
# permalinks:
# cn: "/:sections/:year/:month/:slug/"
# en: "/:sections/:year/:month/:slug/"
# 分页,默认10篇文章
paginate: 10
# 分类页面设置
taxonomies:
category: categories # layouts/categories/list.html
tag: tags
disable_math: true # 默认不加载数学公式相关js
params:
description: "Personal website of BruceZhaoR; BZR的个人网站"
footer: "© 2015 - {Year} by [Bruce Zhao](/) made with "
twitterImage: "/images/favicon.ico"
reading_speed: 150
logo:
img: "logo.png"
url: "/"
alt: "BruceZhao's Blog"
markup:
highlight:
codeFences: false
goldmark:
renderer:
unsafe: true
menu:
main:
- name: "首页"
url: "/"
weight: 1
- name: "文章"
url: "/cn/"
weight: 2
- name: "查找"
url: "/search/"
weight: 3
- name: "关于"
url: "/about/"
weight: 4
- name: "EN"
url: "/en/"
weight: 5
cn:
- name: "首页"
url: "/"
weight: 1
- name: "文章"
url: "/cn/"
weight: 2
- name: "查找"
url: "/search/"
weight: 3
- name: "标签"
url: "/tags/"
weight: 4
- name: "分类"
url: "/categories/"
weight: 5
- name: "关于"
url: "/about/"
weight: 6
- name: "EN"
url: "/en/"
weight: 7
en:
- name: "Home"
url: "/"
weight: 1
- name: "Blog"
url: "/en/"
weight: 2
- name: "Search"
url: "/search/"
weight: 3
- name: "About"
url: "/en/about/"
weight: 4
- name: "中文"
url: "/cn/"
weight: 5