-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhugo.yaml
More file actions
258 lines (193 loc) · 4.79 KB
/
hugo.yaml
File metadata and controls
258 lines (193 loc) · 4.79 KB
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
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
baseURL: "https://secure-bits.org/"
# theme: ["hugo-shortcode-roneo-button-icon-badge"]
languageCode: de
title: "SecureBits Blog by Marcel Dellmann"
# Use Hugo modules to add theme
module:
imports:
- path: github.com/hugo-toha/toha/v4
mounts:
- source: static/files
target: static/files
- source: ./node_modules/flag-icon/flags
target: static/flags
- source: ./node_modules/@fontsource/mulish/files
target: static/files
- source: ./node_modules/katex/dist/fonts
target: static/fonts
- source: assets
target: assets
- source: static
target: assets
flags:
enable: true
flagsOverride:
- languageCode: en
countryCode: GB
flag: gb
enableEmoji: false
# media types
image/gif:
delimiter: .
suffixes:
- gif
# Manage languages
# For any more details, you can check the official documentation: https://gohugo.io/content-management/multilingual/
languages:
de:
languageName: Deutsch
languageCode: de
weight: 1
en:
languageName: English
languageCode: en
weight: 2
# Force a locale to be use, really useful to develop the application ! Should be commented in production, the "weight" should rocks.
DefaultContentLanguage: de
# Security headers
# permalink
permalinks:
section: /:section/:title/
post: /:section/:year/:month/:day/:slug/
page: /:section/:title/
privacy:
youTube:
disable: false
privacyEnhanced: true
# Allow raw html in markdown file
markup:
goldmark:
renderer:
unsafe: true
parser:
attribute:
block: true
highlight:
anchorLineNos: false
codeFences: true
guessSyntax: false
hl_Lines: ""
hl_inline: false
lineAnchors: ""
lineNoStart: 1
lineNos: false
lineNumbersInTable: true
noClasses: true
style: fruity
tabWidth: 4
wrapperClass: highlight
# At least HTML and JSON are required for the main HTML content and
# client-side JavaScript search
outputs:
home:
- html
- rss
- json
blog:
- html
- rss
- json
imaging:
anchor: Smart
bgColor: '#ffffff'
hint: photo
quality: 75
# Site parameters
params:
# Background image of the landing page
background: "images/back.webp"
anchor: Smart
bgColor: '#ffffff'
hint: photo
quality: 75
resampleFilter: box
# Background image of the landing page for dark theme
#darkBackground: /images/site/background.jpg
# Provide logos for your site. The inverted logo will be used in the initial
# transparent navbar and the main logo will be used in the non-transparent navbar.
logo:
main: /images/logo_header.webp
inverted: /images/logo_header.webp
favicon: /images/favicon.png
# GitHub repo URL of your site
#gitRepo: https://github.com/securebitsorg/securebits.github.io
features:
# Configure theme color settings
theme:
enable: true
services:
light: true # enable light theme. default "true"
dark: true # enable dark theme. default "true"
default: system # can be either light, dark or system. default "system"
analytics:
enable: true
services:
matomo:
scheme: https
instance: analytics.secure-bits.org/matomo/
siteId: 2
# Enable portfolio section
portfolio:
enable: true
# Enable blog posts
blog:
enable: true
showAuthor: true
shareButtons:
linkedin: true
email: true
whatsapp: true
notes:
enable: false
lazyload:
enable: true
# Use the native lazy loading feature of the browser
native: true
# Use the native lazy loading feature of the browser for images
images:
native: true
# Use the native lazy loading feature of the browser for iframes
iframes: true
# Use the native lazy loading feature of the browser for videos
videos:
native: true
support:
enable: true
services:
kofi:
user: securebits
text: "Support me"
textColor: "#000000"
backgroundColor: "#33FF00"
# Site parameters
# Enable Table of contents in reading page
copyCodeButton:
enable: true
# Enable reading time support in post cards and in post pages
readingTime:
enable: true
# Number of posts to show to each page. Default is "12"
pagination:
maxPostsPerPage: 12
toc:
enable: true
sitemap:
changeFreq: "daily"
disable: false
filename: sitemap.xml
priority: 0.5
tags:
enable: true
on_card: true
# Configure footer
footer:
enable: true
template: footer.html
navigation:
enable: true
contactMe:
enable: true
credentials:
enable: false
newsletter:
enable: false