-
Notifications
You must be signed in to change notification settings - Fork 45
/
config.toml
executable file
·333 lines (291 loc) · 10.8 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
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
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
############################ Default configuration #########################
baseURL = "https://christitus.com/"
title = "Chris Titus Tech | Tech Content Creator"
languageCode = "en-us"
# post pagination
pagination.pagerSize = "10"
# post excerpt
summaryLength = "10"
[outputs]
home = ["HTML", "AMP", "RSS", "JSON"]
[markup.goldmark.renderer]
unsafe = true
[markup.highlight]
codeFences = true
guessSyntax = true
hl_Lines = ""
lineNoStart = 1
lineNos = false
lineNumbersInTable = false
tabWidth = 4
noClasses = false
######################### Default Parameters ###########################
[params]
defaultTheme = "dark"
logo = "images/navlogo.png"
logoWidth = 248
logoHeight = 50
favicon = "images/favicon.png"
author = "Chris Titus"
description = "Having Fun with Technology"
mainSections = ["posts"]
contact_form_action = "#" # contact form works with : https://formspree.io
copyright = ""
rssLimit = 20
search = true
header_search_layout = "expanded" # "expanded" or "popupable"
# Menu align *** "left", "right" or "center" (if Search is disable Menu will align in Right) ***
menu_align = "center"
sidebar = "right" # Sidebar value ("left", "right" or false)
code_copy_button = true
######################## Site Variables #########################
[params.variables]
# Color Variables
primary_color = "#f5f5f5"
secondary_color = "#47c4f1"
text_color = "#444444"
text_color_dark = "#222222"
body_color = "#f5f5f5"
border_color = "#ACB9C4"
black = "#000"
white = "#f5f5f5"
light = "#F8F8F8"
# font variable
# Give your font name from google font. add font weight using ":wght@" and separate by ";"
# example: "Work Sans:wght@400;500;600"
primary_font = "PT Sans:wght@400;700"
secondary_font = ""
icon_font = "Font Awesome 6 Free"
######################## sidebar widgets #########################
[params.widgets]
sidebar = ["toc"]
# available widget : search,about-me,authors,categories,tags,recent-post,social,promotion,subscription
# preloader
[params.preloader]
enable = false
preloader = "" # use png, jpg, svg or gif format
# Subscription
[params.subscription]
enable = true
title = "Subscribe for our monthly newsletter."
input_placeholder = "Enter your email"
# Google Ads
[params.googlead]
enable = false
# cookies
[params.cookies]
enable = false
expire_days = 2
########################## Plugings ######################################
# css plugins
[[params.plugins.css]]
link = "css/vendor/bootstrap.min.css"
attributes = "media='all'"
[[params.plugins.css]]
link = "css/custom-nav.css"
[[params.plugins.css]]
link = "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css"
# js plugins - Reordered and optimized
[[params.plugins.js]]
link = "js/vendor/jquery.min.js"
attributes = "defer"
[[params.plugins.js]]
link = "js/vendor/bootstrap.min.js"
attributes = "defer"
[[params.plugins.js]]
link = "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/js/all.min.js"
attributes = "defer"
[[params.plugins.js]]
link = "js/vendor/shuffle.min.js"
attributes = "defer"
[[params.plugins.js]]
link = "js/vendor/fuse.min.js"
attributes = "defer"
[[params.plugins.js]]
link = "js/vendor/mark.js"
attributes = "defer"
[[params.plugins.js]]
link = "js/vendor/search.js"
attributes = "defer"
[[params.plugins.js]]
link = "js/theme.js"
attributes = "defer"
############################## Social Site ##########################
[[params.social]]
icon = "fab fa-youtube"
link = "https://youtube.com/c/ChrisTitusTech"
[[params.social]]
icon = "fab fa-twitch"
link = "https://twitch.tv/christitustech"
[[params.social]]
icon = "fab fa-twitter"
link = "https://twitter.com/christitustech"
[[params.social]]
icon = "fab fa-github"
link = "https://github.com/christitustech"
[[params.social]]
icon = "fab fa-linkedin"
link = "https://www.linkedin.com/in/ctitus/"
[[params.social]]
icon = "fas fa-rss"
link = "https://christitus.com/rss"
####################### Banner #######################################
[banner]
bg_image = "images/bannerbackground.png"
title = "<strong>Chris Titus Tech</strong><br>How To Articles, <br>Image Downloads,<br> Tech Guides."
image = "images/operating systems.jpg"
######################## About Me Widget ###############################
[about_me]
title = "Chris Titus Tech"
bio = ""
[[params.social_profile]]
icon = "fab fa-twitter" # Fontawesome icon pack https://fontawesome.com/icons
link = "https://twitter.com/christitustech"
[[params.social_profile]]
icon = "fab fa-twitch" # Fontawesome icon pack https://fontawesome.com/icons
link = "https://twitch.tv/christitustech"
[[params.social_profile]]
icon = "fab fa-github" # Fontawesome icon pack https://fontawesome.com/icons
link = "https://github.com/christitustech"
[[params.social_profile]]
icon = "fab fa-linkedin" # Fontawesome icon pack https://fontawesome.com/icons
link = "https://www.linkedin.com/in/ctitus/"
[[params.social_profile]]
icon = "fab fa-youtube" # Fontawesome icon pack https://fontawesome.com/icons
link = "https://youtube.com/c/ChrisTitusTech"
######################## call to action ###############################
[params.cta]
enable = false
image = "images/hugo-muscot.svg"
title = "Get the best hugo templates"
description = "Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus."
[params.cta.button]
enable = false
label = "Visit Here"
link = "https://gethugothemes.com/shop/"
############################# English - Main Menu ########################
[[menu.main]]
weight = 1
url = "/"
name = "Home"
[[menu.main]]
weight = 2
url = "downloads/"
name = "Downloads"
[[menu.main]]
weight = 3
url = "newsletter/"
name = "Newsletter"
[[menu.main]]
weight = 6
url = "#"
name = "Sections"
hasChildren = true
[[menu.main]]
name = "Android"
url = "/categories/android"
parent = "Sections"
[[menu.main]]
name = "Linux"
url = "/categories/linux"
parent = "Sections"
[[menu.main]]
name = "MacOS"
url = "/categories/macos"
parent = "Sections"
[[menu.main]]
name = "Networking"
url = "/categories/networking"
parent = "Sections"
[[menu.main]]
name = "Windows"
url = "/categories/windows"
parent = "Sections"
[[menu.main]]
weight = 7
url = "https://youtube.com/@christitustech"
name = "YouTube"
############################# Footer Menu ########################
[[menu.footer]]
weight = 3
url = "privacy/"
name = "Privacy"
[[menu.footer]]
weight = 4
url = "terms-conditions/"
name = "Terms & Conditions"
### Special build and Security settings
[minify]
disableCSS = false
disableHTML = false
disableJS = false
disableJSON = false
disableSVG = false
minifyOutput = true
[minify.tdewolff.html]
keepWhitespace = false
[minify.tdewolff.js]
keepVarNames = false
precision = 0
[minify.tdewolff.css]
keepCSS2 = true
[imaging]
quality = 75
anchor = "Smart"
resampleFilter = "Lanczos"
[imaging.exif]
includeFields = ""
excludeFields = ""
disableDate = true
disableLatLong = true
[security.headers]
[security.headers.customHeaders]
X-Frame-Options = "DENY"
X-XSS-Protection = "1; mode=block"
X-Content-Type-Options = "nosniff"
Referrer-Policy = "strict-origin-when-cross-origin"
# Content-Security-Policy = "default-src 'self' *.shopify.com *.shopifycdn.com; script-src 'self' 'unsafe-inline' 'unsafe-eval' *.shopify.com *.shopifycdn.com sdks.shopifycdn.com cdn.jsdelivr.net cdnjs.cloudflare.com *.google.com *.googletagmanager.com *.google-analytics.com *.googlesyndication.com *.doubleclick.net utteranc.es *.utteranc.es *.youtube.com youtube.com *.ytimg.com; style-src 'self' 'unsafe-inline' *.shopify.com *.shopifycdn.com cdnjs.cloudflare.com fonts.googleapis.com *.fontawesome.com; font-src 'self' data: *.shopifycdn.com fonts.gstatic.com cdnjs.cloudflare.com *.fontawesome.com; frame-src 'self' *.shopify.com *.myshopify.com *.doubleclick.net *.google.com *.youtube.com youtube.com *.youtu.be youtu.be github.com *.github.com utteranc.es; img-src 'self' data: * *.shopify.com *.shopifycdn.com *.google.com *.google-analytics.com *.googlesyndication.com *.doubleclick.net *.youtube.com youtube.com *.youtu.be youtu.be *.ytimg.com; connect-src 'self' *.shopify.com *.myshopify.com monorail-edge.shopifysvc.com *.google-analytics.com *.doubleclick.net api.github.com *.youtube.com youtube.com *.ytimg.com; font-src 'self' data: *.shopifycdn.com fonts.gstatic.com cdnjs.cloudflare.com *.fontawesome.com; base-uri 'self';"
[server]
[[server.headers]]
for = "/**"
[server.headers.values]
Content-Encoding = ["gzip"]
Cache-Control = ["public, max-age=31536000"]
Link = [
"</css/vendor/bootstrap.min.css>; rel=preload; as=style",
"</js/vendor/jquery.min.js>; rel=preload; as=script"
]
# Update your existing Content-Security-Policy to include cache settings
# Content-Security-Policy = "default-src 'self' *.shopify.com *.shopifycdn.com; script-src 'self' 'unsafe-inline' 'unsafe-eval' *.shopify.com *.shopifycdn.com sdks.shopifycdn.com cdn.jsdelivr.net cdnjs.cloudflare.com *.google.com *.googletagmanager.com *.google-analytics.com *.googlesyndication.com *.doubleclick.net utteranc.es *.utteranc.es *.youtube.com youtube.com *.ytimg.com; style-src 'self' 'unsafe-inline' *.shopify.com *.shopifycdn.com cdnjs.cloudflare.com fonts.googleapis.com *.fontawesome.com; font-src 'self' data: *.shopifycdn.com fonts.gstatic.com cdnjs.cloudflare.com *.fontawesome.com; frame-src 'self' *.shopify.com *.myshopify.com *.doubleclick.net *.google.com *.youtube.com youtube.com *.youtu.be youtu.be github.com *.github.com utteranc.es; img-src 'self' data: * *.shopify.com *.shopifycdn.com *.google.com *.google-analytics.com *.googlesyndication.com *.doubleclick.net *.youtube.com youtube.com *.youtu.be youtu.be *.ytimg.com; connect-src 'self' *.shopify.com *.myshopify.com monorail-edge.shopifysvc.com *.google-analytics.com *.doubleclick.net api.github.com *.youtube.com youtube.com *.ytimg.com; font-src 'self' data: *.shopifycdn.com fonts.gstatic.com cdnjs.cloudflare.com *.fontawesome.com; base-uri 'self';"
[build]
writeStats = true
[build.processing]
skip_processing = false
[build.processing.js]
bundle = true
minify = true
target = "es2015"
avoid_tdz = true
includes = ["(?!vendor).*"]
[build.processing.css]
bundle = true
minify = true
[caches]
[caches.getresource]
dir = ':cacheDir/:project'
maxAge = "48h"
[caches.getjson]
dir = ':cacheDir/:project'
maxAge = "48h"
[caches.getcsv]
dir = ':cacheDir/:project'
maxAge = "48h"
[caches.images]
dir = ':resourceDir/_gen'
maxAge = "48h"
[caches.assets]
dir = ':resourceDir/_gen'
maxAge = "48h"
[caches.modules]
dir = ':cacheDir/modules'
maxAge = "168h" # 1 week