-
Notifications
You must be signed in to change notification settings - Fork 2
/
config.toml
161 lines (130 loc) · 3.93 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
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
baseURL = "https://www.duncanmackenzie.net/"
languageCode = "en-us"
title = "Duncan Mackenzie"
DefaultContentLanguage = "en"
summaryLength = 20
theme = "hello-friend-ng"
pygmentsCodefences = true
pygmentsUseClasses = true
rssLimit = 10 # Maximum number of items in the RSS feed.
copyright = "This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License." # This message is only used by the RSS template.
archetypeDir = "archetypes"
contentDir = "content"
dataDir = "data"
layoutDir = "layouts"
publishDir = "public"
buildDrafts = false
buildFuture = true
buildExpored = false
canonifyURLs = false
enableRobotsTXT = true
enableGitInfo = true
enableEmoji = true
enableMissingTranslationPlaceholders = false
disableRSS = false
disableSitemap = false
disable404 = false
disableHugoGeneratorInject = false
[outputFormats]
[outputFormats.purchase]
name = "purchase"
baseName = "purchase"
isPlainText = false
isHTML = true
mediaType = "text/html"
rel= "alternate"
noUgly= true
[outputFormats.iframe]
name = "iframe"
baseName = "iframe"
mediaType = "text/html"
isHTML = true
[outputFormats.oembed]
name = "oembed"
baseName = "oembed"
mediaType = "application/json"
isPlainText = true
[outputs]
home = ["HTML", "RSS", "JSON", "OEMBED", "IFRAME"]
page = ["HTML", "OEMBED", "IFRAME"]
[blackfriday]
hrefTargetBlank = false
[taxonomies]
tag = "tags"
[params]
dateform = "Jan 2, 2006"
dateformShort = "Jan 2"
dateformNum = "2006-01-02"
dateformNumTime = "2006-01-02 15:04 -0700"
# Metadata mostly used in document's head
description = "Articles about web development, engineering leadership, and some random personal ramblings"
homeSubtitle = "Articles about web development, engineering leadership, and some random personal ramblings"
clarity = "440rce59ji"
# Prefix of link to the git commit detail page. GitInfo must be enabled.
gitUrl = "https://github.com/Duncanma/Blog/commit/"
# Integrate Javascript files or stylesheets by adding the url to the external assets or by
# linking local files with their path relative to the static folder, e.g. "css/styles.css"
customCSS = []
customJS = []
# Toggle this option need to rebuild SCSS, requires extended version of Hugo
justifyContent = false # Set "text-align: justify" to .content.
toc = true
showRelated = true
hasTranslations = false
# Directory name of your blog content (default is `content/posts`)
contentTypeName = "Blog"
# Default theme "light" or "dark"
defaultTheme = "dark"
themeColor = "#252627"
homegrownAnalytics = "https://functions.duncanmackenzie.net/api/event?code=Z2iNU1ncqSCA9CMwMSVhgQfcQAOuqwtyDkpKKfeqqB0oAzFudj2C3g%3D%3D"
[params.author]
name = "Duncan Mackenzie"
[params.logo]
logoText = "$ cd /home/"
logoHomeLink = "/"
# Social icons
[[params.social]]
name = "instagram"
url = "https://www.instagram.com/duncanmackredmond/"
[[params.social]]
name = "bluesky"
url = "https://bsky.app/profile/duncanmackenzie.net"
[[params.social]]
name = "email"
url = "mailto:[email protected]"
[[params.social]]
name = "github"
url = "https://github.com/Duncanma"
[[params.social]]
name = "linkedin"
url = "https://www.linkedin.com/in/duncanmackenzie/"
[menu]
[[menu.main]]
identifier = "about"
name = "About"
url = "about/"
[[menu.main]]
identifier = "blog"
name = "Blog"
url = "blog/"
[[menu.main]]
identifier = "albums"
name = "Albums"
url = "albums/"
[related]
threshold = 80
includeNewer = true
toLower = false
[[related.indices]]
name = "tags"
weight = 100
[[related.indices]]
name = "date"
weight = 10
pattern = "2006"
[markup]
[markup.goldmark]
[markup.goldmark.renderer]
unsafe = true
[services.googleAnalytics]
id = 'UA-23971530-1'