-
Notifications
You must be signed in to change notification settings - Fork 0
/
hugo.yaml
231 lines (204 loc) · 6.69 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
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
baseURL: https://sk3pper.github.io
module:
imports:
- path: github.com/hugo-toha/toha/v4
mounts:
- source: ./node_modules/flag-icon-css/flags
target: static/flags
# different fonts to use from https://fontsource.org/
- source: ./node_modules/@fontsource/mulish/files
target: static/files
# - source: ./node_modules/@fontsource/luckiest-guy/files
# target: static/files
# - source: ./node_modules/@fontsource/anton/files
# target: static/files
# - source: ./node_modules/@fontsource/smooch/files
# target: static/files
# contains the font files used by KaTeX, a popular library for rendering LaTeX math in web pages
- source: ./node_modules/katex/dist/fonts
target: static/fonts
# Manage languages
# For any more details, you can check the official documentation: https://gohugo.io/content-management/multilingual/
languages:
en:
languageCode: en
languageName: English
title: "Andrea Bissoli"
weight: 1
# Force a locale to be use, really useful to develop the application ! Should be commented in production, the "weight" should rocks.
# DefaultContentLanguage: en
# Allow raw html in markdown file
markup:
goldmark:
renderer:
unsafe: true
tableOfContents:
startLevel: 1
endLevel: 4
ordered: false
# At least HTML and JSON are required for the main HTML content and
# client-side JavaScript search
outputs:
home:
- HTML
- RSS
- JSON
# Enable global emoji support
enableEmoji: true
# Site parameters
params:
# Configure the number of section title visible in the top navbar
topNavbar:
maxVisibleSections: 6
# 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/site/logo.png
inverted: /images/site/logo.png
favicon: /images/site/favicon.png
features:
# Enable dark theme
darkMode:
enable: true
# Enable portfolio section
portfolio:
enable: true
# Enable blog posts
blog:
enable: true
showAuthor: true # shows the author of post (defaults true)
# Share post on different social media
shareButtons:
facebook: true
twitter: true
linkedin: true
reddit: true
whatsapp: true
email: true
# tumblr: true
# pocket: true
# diaspora: true
# mastodon: true
# # GitHub repo URL of your site to allow readers to improve a post by making corrections
# gitRepo: https://github.com/Sk3pper/Sk3pper.github.io
# # Default branch of your Git repo
# gitBranch: main
# Specify whether you want to show Table of Contents in reading page
toc:
enable: true
# Enable & configure "Notes" features
notes:
enable: false
# Enable & configure support features
support:
enable: false
# Enable this to create mathematic expressions using `$$` blocks
math:
enable: true
services:
# https://katex.org/docs/autorender.html#api for more configurations
katex:
delimiters:
- left: $$
right: $$
display: true
- left: \\[
right: \\]
display: true
- left: $
right: $
display: false
- left: \\(
right: \\)
display: false
# Show tags under the post title
tags:
enable: true
on_card: true # enables tags in post cards
# Specify whether to show flag in the language selector. Default is true.
flags:
enable: false
# # If you want to use different country flag for a language, specify them here.
# flagOverwrites:
# - languageCode: en
# countryCode: us
# Enable this to use `embed-pdf` shortcode.
embedpdf:
enable: true
# Enable this to create flowcharts using shortcodes.
flowchart:
enable: true
services:
# Uncomment for `mermaid` shortcode.
mermaid:
# For config options, see: https://mermaid-js.github.io/mermaid/#/Setup?id=configuration
theme: forest
# Enable to use custom syntax highlight
# Please note, Hugo comes with it's own html based syntax highlighter.
# Your code block will still be syntax highlighted by hugo.
# For more details: https://gohugo.io/content-management/syntax-highlighting/
# To disable Hugo's builtin syntax highlight,
# see: https://gohugo.io/getting-started/configuration-markup#highlight
# ```
# # config.yaml
# markup:
# # this disables hugo's syntax highlighting.
# codeFences: false
# ```
syntaxHighlight:
enable: true
services:
hljs:
# see: https://highlightjs.readthedocs.io/en/latest/api.html#configure
noHighlightRe: /^no-highlight$/i
# Enable to use `video-player` shortcode
videoPlayer:
enable: true
services:
# convert .js-player class into video player via https://plyr.io/
# Can play HTML5 Video, Audio, Youtube, Vimeo.
# For more info on setup: https://github.com/sampotts/plyr#quick-setup
plyr:
# options doc: https://github.com/sampotts/plyr#options
# fullscreen: true
# Enable reading time support in post cards and in post pages
readingTime:
enable: false
# Number of posts to show to each page. Default is "12"
pagination:
maxPostsPerPage: 12
analytics:
enable: true
services:
# GoatCounter
goatCounter:
code: sk3pper # Not self-hosted
counterDev:
# <script src="https://cdn.counter.dev/script.js" data-id="a788b680-cb3e-44d3-b058-ace8428c5486" data-utcoffset="2"></script>
id: a788b680-cb3e-44d3-b058-ace8428c5486
# Configure footer
footer:
enable: true
# You can provide your custom footer template using this option.
# Put your template in "layouts/partials" folder of your repo.
template: footer.html
# Show/hide navigation in the footer. Default is "true".
navigation:
enable: true
# show custom menus in the footer
customMenus: true
# Show/hide "Contact Me" section in the footer. Default is "true".
contactMe:
enable: true
# Show/hide credentials section in the footer. Default is "true".
credentials:
enable: true
# Show/hide newsletter section in the footer. Default is "true".
# Currently, it supports "mailchimp".
newsletter:
enable: false
# provider: mailchimp
# mailchimpURL: https://github.us1.list-manage.com/subscribe/post?u=19de52a4603135aae97163fd8&id=094a24c76e
# Show/hide disclaimer notice in the footer. Default is "false".
disclaimer:
enable: false