-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.toml
77 lines (57 loc) · 3.4 KB
/
config.toml
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
# set `baseurl` to your root domain
# if you set it to "/" share icons won't work properly on production
baseurl = "https://mqttiotstuff.github.io/" # Include trailing slash
title = "MQTTIotStuff"
author = "Patrice Freydiere"
copyright = "Copyright © 2008–2021, PFreydiere; all rights reserved."
publishDir = "docs"
# canonifyurls = true
paginate = 10
theme = "hugo-clarity"
[markup]
[markup.highlight]
codeFences = true
guessSyntax = true
hl_Lines = "--"
lineNoStart = 1
lineNos = true # always set to true # else line numbers won't show at all! even when you toggle them on in the UI
lineNumbersInTable = false # toggling this on (i.e to true) or deleting this line will break the code blocks functionality. Will
noClasses = false
# style = "monokai"
tabWidth = 2
[markup.goldmark.renderer]
hardWraps = false
unsafe = true # change to false to disable inclusion of rawHTML and math functions
xhtml = false
[params]
author = "Patrice Freydiere"
twitter = "@frett27"
largeTwitterCard = false # set to true if you want to show a large twitter card image. The default is a small twitter card image
introDescription = "Designing and experiments on ambiant systems. Enjoying building ambiant, organic and cybernetic systems, following calm technology principles"
# description = "" # set your site's description here. will be use for home page content meta tags (seo). Alternatively set this description in your homepage content file i.e content/_index.md. Whatever is set in the latter will take precedence
# Google analytics Id
ga_analytics = "G-FVZC0JBWF3"
# limit the number of taxonomies links shown on the sidebar of each page by default.
numberOfTagsShown = 14 # Applies for all other default & custom taxonomies. e.g categories, brands see https://gohugo.io/content-management/taxonomies#what-is-a-taxonomy
# will be used on share >> twitter, facebook, linkedin
fallBackOgImage = "images/thumbnail.png"
# sets the maximum number of lines per codeblock. The codeblock will however be scrollable and expandable.
codeMaxLines = 7
# disable showing line numbers by default. Switch to `true` if you'd rather have them on.
codeLineNumbers = false
# directory(s) where your articles are located
mainSections = ["post"] # see config details here https://gohugo.io/functions/where/#mainsections
# center logo on navbar
centerLogo = false # Set to "true" for centering or "false" for left aligned.
logo = "logos/logo.png"
# Label Non inline images on an article body
figurePositionShow = false # toggle on or off globally
# you can toggle this behaviour on or off on per page using the same variable inside your articles frontmatter
figurePositionLabel = "Figure" # the text before image number e.g Figure 1.0
# Set the collapsed mobile navigation to either appear from the left or the right
mobileNavigation = "left" # if you prefer right change to 'right'
# some site owners want to decide how they would like their sites to be introduced users. These settings give you as a site owner to decide how the user will view your site for the first time.
# please note that you cannot enforce both modes at the same time. i.e by enforcing one mode, you priotise it over the other (by setting it to true). enforceDarkMode will be commented out
# please also not that mode toggle UI will remain in place. That way, if a user prefers darkmode, they can have their way.
# enforceLightMode = false
enforceDarkMode = true