-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yml
201 lines (182 loc) · 5.73 KB
/
config.yml
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
baseURL: "https://colephillips.dev"
languageCode: en-us
title: Cole Phillips
theme: PaperMod
paginate: 5
enableRobotsTXT: true
buildDrafts: true
buildFuture: false
buildExpired: false
pluralizeListTitles: false
googleAnalytics: G-BZ5NVZQWDT
minify:
disableXML: true
minifyOutput: true
# https://adityatelange.github.io/hugo-PaperMod/posts/papermod/papermod-variables/
params:
env: production # to enable google analytics, opengraph, twitter-cards and schema.
title: Cole Phillips
# This is shown when website is posted in Discord and other socials
description: "Welcome to my website!"
keywords: [Cole Phillips, Blog, Portfolio]
author: "Cole Phillips"
# Image displayed when posting site link on socials
# For example, if you post the link to the site in Discord, this image will be displayed
images: ["me.jpg"]
DateFormat: "January 2, 2006"
# dark, light
defaultTheme: dark
disableThemeToggle: false
ShowReadingTime: true
ShowShareButtons: false
ShowPostNavLinks: true
ShowBreadCrumbs: true
ShowCodeCopyButtons: true
ShowWordCount: false
ShowRssButtonInSectionTermList: false
# See markup.tableOfContents for configuration
UseHugoToc: true
disableSpecial1stPost: false
disableScrollToTop: false
# See https://adityatelange.github.io/hugo-PaperMod/posts/papermod/papermod-features/#comments
comments: true
hidemeta: false
hideSummary: false
showtoc: true
tocopen: true
TocSide: left
# Enable KaTeX on every page globally. See blog post about setting up site
math: true
# Without this, archive doesn't show all pages
# See https://github.com/adityatelange/hugo-PaperMod/issues/912
# And https://github.com/adityatelange/hugo-PaperMod/commit/fc87fc3a29e8e515dff866159601a734e3ad4a2f
# Note from https://github.com/adityatelange/hugo-PaperMod/issues/702 that post must have date to be archived
ShowAllPagesInArchive: true
# Necessary for post nav links to show up on /posts and /projects
# https://github.com/adityatelange/hugo-PaperMod/issues/940
mainSections:
- blog
- projects
assets:
# Disables highlight.js, using Hugo Chroma instead
# https://github.com/adityatelange/hugo-PaperMod/wiki/FAQs#using-hugos-syntax-highlighter-chroma
# Note: Do not enable this. May not work correctly due to some code theme changes made in or around
# https://github.com/jesse-wei/jessewei.dev-PaperMod/commit/bcadfdde8e12a2a9f9ed853f9939695797b31739
disableHLJS: false
favicon: "/assets/favicon.ico"
# disableFingerprinting: true
# https://adityatelange.github.io/hugo-PaperMod/posts/papermod/papermod-faq/#adding-custom-favicons
# static/ {favicon.ico, favicon-16x16.png, favicon-32x32.png, apple-touch-icon.png, safari-pinned-tab.svg} automatically detected
# Logo and name shown on top left of site
label:
text: "Cole Phillips"
icon:
iconHeight: 35
# profile-mode
profileMode:
enabled: true
title: Cole Phillips
subtitle: "-"
imageUrl: "/images/me.png"
imageWidth: 150
imageHeight: 150
imageTitle: Picture of me
buttons:
- name: Blog
url: /blog
- name: Projects
url: /projects
- name: Resume
url: /blog
# home-info mode
homeInfoParams:
Title: "Hi there \U0001F44B"
Content: |
Welcome to my blog
Multi-line string with \n separating them
socialIcons:
# - name: cv
# url: "/WeiJesseResumePublic.pdf"
- name: github
url: "https://github.com/trailingslashes"
- name: linkedin
url: "https://www.linkedin.com/in/cole--phillips/"
- name: discord
url: "https://discordapp.com/users/syntax4118"
- name: email
url: "mailto:me@colephillips.info"
analytics:
google:
SiteVerificationTag: G-BZ5NVZQWDT
cover:
linkFullImages: true
# Hide everywhere but not in structured data
hidden: false
# Hide in list view
hiddenInList: false
hiddenInSingle: true
editPost:
URL: "https://github.com/trailingslashes/colephillips.dev/edit/main/content"
Text: "Suggest edit"
appendFilePath: true
# For search
# https://fusejs.io/api/options.html
fuseOpts:
isCaseSensitive: false
shouldSort: true
location: 0
distance: 1000
threshold: 0.4
minMatchCharLength: 0
keys: ["title", "permalink", "summary", "content"]
# Source: https://adityatelange.github.io/hugo-PaperMod/posts/papermod/papermod-features/#search-page
outputs:
home:
- HTML
- RSS
- JSON
menu:
main:
- identifier: blog
name: Blog
url: /blog/
weight: 1
- identifier: projects
name: Projects
url: /projects/
weight: 2
- identifier: search
name: Search
url: /search/
weight: 3
# Read: https://github.com/adityatelange/hugo-PaperMod/wiki/FAQs#using-hugos-syntax-highlighter-chroma
pygmentsUseClasses: true
# Source: https://gohugo.io/getting-started/configuration-markup/#highlight
# Parameter meanings: https://gohugo.io/functions/highlight/
markup:
tableOfContents:
# Without this, Hugo ToC doesn't show h4 and higher
# https://github.com/alex-shpak/hugo-book/issues/52
endLevel: 6
highlight:
anchorLineNos: false
codeFences: true
guessSyntax: true
hl_Lines: ""
hl_inline: false
lineAnchors: ""
lineNoStart: 1
# highlight.js also doesn't use line numbers by default.
# The rationale is that doing so improves readability
# (https://highlightjs.readthedocs.io/en/latest/line-numbers.html).
# Therefore, I disable it by default.
# Note: It's possible to enable it on a specific code block by specifying
# ``` {lineNos=true}
# ```
lineNos: false
lineNumbersInTable: true
# false means use external CSS file
noClasses: false
noHl: false
# style: monokai
tabWidth: 4