forked from hugo-toha/hugo-toha.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhugo.yaml
220 lines (211 loc) · 8.12 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
baseURL: https://brycekinsey.com # When deploying your site with GitHub Pages, use your custom domain (if you have one) over the github.io doamin as the Hugo 'baseURL'.
languageCode: en
title: "Bryce Kinsey's Website"
module: # Use Hugo modules to add theme
imports:
- path: github.com/hugo-toha/toha/v4
mounts:
- source: static/files
target: static/files
- source: ./node_modules/flag-icons/flags
target: static/flags
- source: ./node_modules/@fontsource/mulish/files
target: static/files
- source: ./node_modules/katex/dist/fonts
target: static/fonts
languages: # Manage Languages. For any more details, you can check the official documentation: https://gohugo.io/content-management/multilingual/
en:
languageCode: en
languageName: English
title: "Bryce Kinsey"
weight: 1
defaultContentLanguage: en # default language for the content
markup: # If you want to include RAW HTML in your markdown files, you need to enable unsafe rendering. Without enabling this, Hugo will not render the HTML.
goldmark:
renderer:
unsafe: false
tableOfContents: # Control the level of your blog posts' TOC
startLevel: 2
endLevel: 6
ordered: false
outputs: # At least HTML and JSON are required for the main HTML content and client-side JavaScript search
home:
- HTML
- RSS
- JSON
enableEmoji: true # Enable global emoji support
params: # Site parameters
background: /images/site/background.webp # Background image of the landing page
logo: # Logos for the site. The inverted logo
main: /images/site/logo.png # Will be used in the non-transparent navbar.
inverted: /images/site/logo.png # Will be used in the initial transparent navbar
favicon: /images/site/favicon.png
gitRepo: https://github.com/brycekinsey/brycekinsey.github.io # GitHub repo of the site
gitBranch: main # Default branch of the Git repo
topNavbar: # Configure the number of section title visible in the top navbar
maxVisibleSections: 10
features: # Configure various features of this theme
theme: # Configure theme color settings
enable: true
services:
light: true # enable light theme. default "true"
dark: true # enable dark theme. default "true"
default: system # can be either light, dark or system. default "system"
portfolio: # Enable and configure portfolio
enable: true
blog: # Enable and configure blog posts
enable: false
showAuthor: true # shows the author of post (defaults true)
shareButtons: # Share post on different social media
facebook: true
twitter: true
linkedin: true
reddit: true
whatsapp: true
email: true
# tumblr: true
# pocket: true
# diaspora: true
mastodon: true
notes: # Enable & configure "Notes" features
enable: false
comment: # Enable comment feature. There should be only one of them.
enable: false
services:
disqus:
shortName: Example
# valine:
# appId: HTV6askWxVo3vOxlqjjaq2hd-MsYXbMMI
# appKey: pVrT3C85KGIuk27t07eh6bUC
# avatar: retro
# Example: Share your thought.
# lang: en
# recordIP: true
# enableQQ: true
# utteranc:
# repo: github.com/hugo-toha/hugo-toha.github.io
# issueTerm: title
# theme: github-light
# giscus:
# repo: your-repo/name
# repoID: your-repo-id
# category: your-category
# categoryID: your-category-id
# theme: light
# map: url
# reaction: 1
# metadata: 0
# inputPosition: bottom
# crossOrigin: anonymous
# commento:
# serverURL: cdn.commento.io
# autoInit: true
# hideDeleted: false
analytics: # Enable Analytics
enabled: true
services:
### Supports Counter.dev, GoatCounter, Google Analytics, Matomo, Statcounter, and Umami
## Umami
umami:
scheme: https
instance: analytics1.tercet.tech
id: 9ec55013-5708-4b88-8b3a-114ec2b08722
## Matomo
matomo:
instance: analytics2.tercet.tech
siteId: 1 # The number generated after adding a site in your instance
support: # Enable Support
enable: true
services:
# kofi:
# user: <your kofi user>
# text: Tip Me
# textColor: '#f9fafc'
# backgroundColor: '#248aaa'
buymeacoffee:
user: brycekinsey
text: Yes, I run on Java
info: Yes, I run on Java
color: '#FFDD00'
toc: # specify whether you want to show Table of Contents in blog posts
enable: false
tags: # Show tags under the post title
enable: false
on_card: false # enables tags in post cards
flags: # Specify whether to show flag in the language selector. Default is true.
enable: true
flagOverwrites: # If you want to use different country flag for a language, specify them here.
- languageCode: en
countryCode: us
embedpdf: # Enable this to use `embed-pdf` shortcode.
enable: true
flowchart: # Enable this to create flowcharts using shortcodes.
enable: false
services:
mermaid: # `mermaid` shortcode. For config options, see: https://mermaid-js.github.io/mermaid/#/Setup?id=configuration
theme: forest
math: # Enable this to create mathematic expressions using `$$` blocks
enable: false
services:
katex: # https://katex.org/docs/autorender.html#api for more configurations
delimiters:
- left: $$
right: $$
display: true
- left: \\[
right: \\]
display: true
- left: $
right: $
display: false
- left: \\(
right: \\)
display: false
copyCodeButton: # Enables copy code button
enable: false
readingTime: # Enable reading time support in post cards and in post pages
enable: false
pagination: # Number of posts to show to each page. Default is "12"
maxPostsPerPage: 12
footer: # Provide footer configuration.
enable: true
template: footer.html # You can provide your custom footer template using this option. Put your template in "layouts/partials" folder of your repo.
navigation: # Show/hide navigation in the footer. Default is "true".
enable: false
customMenus: true # show custom menus in the footer
contactMe: # Show/hide "Contact Me" section in the footer. Default is "true".
enable: true
credentials: # Show/hide credentials section in the footer. Default is "true".
enable: true
newsletter: # Show/hide newsletter section in the footer. Default is "true". Currently, it supports "mailchimp".
enable: false
# provider: mailchimp
# mailchimpURL: "#"
disclaimer: # Show/hide disclaimer notice in the footer. Default is "false".
enable: true
# 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: false
services:
hljs:
# see: https://highlightjs.readthedocs.io/en/latest/api.html#configure
noHighlightRe: /^no-highlight$/i
videoPlayer: # Enable to use `video-player` shortcode
enable: false
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