-
Notifications
You must be signed in to change notification settings - Fork 0
/
hugo.yaml
174 lines (161 loc) · 4.21 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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
# baseURL: set to whatever URL you are listening on.
# Can be a resolvable IP/hostname for direct access.
# Or localhost:port for connections via proxy.
baseURL: http://localhost:8080
languageCode: en-us
title: Blog
copyright: © 2023
googleAnalytics:
# paginate specifies the maximum number of posts displayed on the home page.
paginate: 1000
# theme specifies the name of the theme to be used.
theme: minima-crystallabs
# defaultContentLanguage specifies the default language to use.
defaultContentLanguage: en
# language.xxx setup
languages:
en:
languageName: EN # will be displayed in the navbar.
weight: 1
# author specifies your name, a slogon and your brief self-introduction.
author:
name:
status:
description: |
Blog description
params:
# greet specifies greeting words.
greet: Blog
# subtitle speficies a subtitle displayed right after the site title.
subtitle: Blog Subtitle
# switch specifies two emojis used as the button toggling color themes.
switch: ["Light Theme", "Dark Theme"]
# minima has one dark theme and multiple light themes. defaultTheme specifies
# a default light theme to use. currently available options: light, sand, rock, system.
defaultTheme: system
# displayDate speficies whether or not to display post date on the home page.
displayDate: true
# displayDescription specifies whether or not to display post description on
# the hoem page.
displayDescription: true
# selectable specifies if or not your post content can be selected.
selectable: true
# social is an array containing as many as social accounts to be displayed
# in the buttom of every page.
social:
- name: "twitter"
url: "https://twitter.com/"
- name: "email"
url: "hello@"
- name: "github"
url: "https://github.com/"
- name: "rss"
url: "/index.xml"
# ToC
toc:
enable: true
# math plugin
math:
enable: false
provider: katex
# diagram plugin
diagram:
enable: false
provider: mermaid
# comment plugin
comment:
enable: false
provider: giscus
# check out https://disqus.com/
disqus:
shortname: hugo-minima
# check out https://utteranc.es
utterances:
repo: mivinci/hugo-theme-minima
issueTerm: pathname
label: comment
# check out https://giscus.app
giscus:
repo: mivinci/hugo-theme-minima
repoId: MDEwOlJlcG9zaXRvcnkzODcxMjM2NDU=
category: Comments
categoryId: DIC_kwDOFxMJvc4CScQm
mapping: pathname
inputPosition: buttom # bottom | top
reactions: true
metadata: false
# search plugin
search:
enable: true
provider: fuse
title: Search
placeholder: Enter keywords
# check out https://fusejs.io
fuse:
keys:
- title
- permalink
- summary
- description
- content
distance: 100
location: 0
threshold: 0.6
ignoreLocation: false
isCaseSensitive: false
includeScore: false
includeMatches: false
minMatchCharLength: 1
shouldSort: true
findAllMatches: false
# menu.main is an array containing what is used as the navigator.
menu:
main:
- identifier: /
name: Posts
weight: 1
- identifier: tags
name: Tags
weight: 2
- identifier: series
name: Series
weight: 3
- identifier: search
name: Search 🔍
weight: 4
- identifier: about
name: About
weight: 5
# taxonomies defines ways to classify yout posts. Below are some presets that
# most bloggers use, so you can replace them with whatever you like.
taxonomies:
category: categories
tag: tags
series: series
# outputs tells Hugo the kind of files to be rendered.
outputs:
home:
- HTML
- RSS
- JSON
# markup.highlight has two keys set to make sure that the syntax highlighting
# in your posts are rendered correctly, so DO NOT edit them.
markup:
highlight:
anchorLineNos: false
codeFences: true
guessSyntax: false
hl_Lines: ""
hl_inline: false
lineAnchors: ""
lineNoStart: 1
lineNos: false
lineNumbersInTable: true
noClasses: true
noHl: false
style: perldoc
tabWidth: 4
tableOfContents:
endLevel: 3
ordered: true
startLevel: 2