-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhugo.toml
More file actions
134 lines (105 loc) · 2.88 KB
/
Copy pathhugo.toml
File metadata and controls
134 lines (105 loc) · 2.88 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
# baseURL = 'http://192.168.1.109:8081/'
# If using on VPS:
baseURL = 'https://kelsoncraft.net'
# For test blog on ubuntu-server.lan
#baseURL = 'https://blog.local.kelsoncraft.net'
languageCode = 'en-us'
title = 'KelsonCraft Blog'
#theme = 'reimu'
theme = 'hello-friend-ng'
# Set page limit to 10 posts per page.
pagination.pagerSize = 10
# hello-friend-ng params
# logo.html
Params.Logo.logoText = "KCNet Blog"
# header.html
Params.EnableThemeToggle = true
# Well this breaks the site.
# Params.social = true
#Params.Portrait.Path = "/"
# footer.html
Params.footer.author = true
Params.Author.name = "kelson8"
Params.footer.copyright = true
Copyright = "© 2026 | Content licensed under CC BY 4.0 | Code licensed under GPLv3"
#Params.footer.rss = true
####
# For 12h hour time.
Params.dateformNumTime = "Jan 2, 2006 at 3:04 PM"
# For 24 hour time.
#Params.dateformNumTime = "2006-01-02 15:04"
#Params.dateformShort = "Jan 2, 2006 at 3:04 PM"
## Test, copied from config.toml in theme
enableRobotsTXT = true
enableGitInfo = false
enableEmoji = true
[taxonomies]
tag = "tags"
category = "categories"
[params]
# TODO Figure out how to get the below items to work
# backgroundImage = "assets/images/anime-girl-2880x1800-10025-2754496868.jpg"
# # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# Addon: Social icons
# # # # # # # # # # # # # # # # # # # # # # # # # # # # #
#
[[params.social]]
name = "twitter"
url = "https://twitter.com/"
[[params.social]]
name = "email"
url = "mailto:nobody@example.com"
[[params.social]]
name = "github"
url = "https://github.com/"
[[params.social]]
name = "linkedin"
url = "https://www.linkedin.com/"
[[params.social]]
name = "stackoverflow"
url = "https://www.stackoverflow.com/"
[menu]
[[menu.main]]
identifier = "home-page"
name = "Website Home"
url = "https://kelsoncraft.net/"
[[menu.main]]
identifier = "blog-intro"
name = "Blog Intro"
url = "posts/blog-intro"
[[menu.main]]
identifier = "posts"
name = "Posts"
url = "posts/"
##
# Minification settings for optimal performance
# https://klikukliku.dev/posts/hugo-css-optimization/
# TODO Modify this or remove it if it's not needed.
[minify]
minifyOutput = true
[minify.tdewolff]
[minify.tdewolff.html]
keepComments = false
keepWhitespace = false
keepEndTags = true
keepQuotes = false
keepDefaultAttrVals = true
keepDocumentTags = true
[minify.tdewolff.css]
precision = 2
[minify.tdewolff.js]
keepVarNames = false
precision = 2
version = 2022
[minify.tdewolff.json]
precision = 2
[minify.tdewolff.svg]
keepComments = false
precision = 0
[minify.tdewolff.xml]
keepWhitespace = false
# I'm not exactly sure what this is for.
# [build]
# writeStats = true
##
####