-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.toml
308 lines (274 loc) · 9.76 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
baseURL = 'https://dlzou.github.io'
languageCode = 'en-us'
defaultContentLanguage = "en-us"
title = 'Daniel Zou'
theme = "tranquilpeak"
googleAnalytics = "G-4MJRGXRYTC"
paginate = 7
canonifyurls = true
[permalinks]
posts = "/:year/:month/:day/:slug/"
[taxonomies]
tag = "tags"
category = "categories"
archive = "archives"
# ------
# Markup
# ------
[markup]
# Set startLevel = 1 to support # title (<h1>title</h1>) otherwise table of content is blank/empty
[markup.tableOfContents]
endLevel = 3
ordered = false
startLevel = 1
# ------
# Author
# ------
[author]
name = "Daniel Zou"
bio = "Currently ~~working in my bedroom~~ sleeping in my office"
job = "NVIDIA"
location = "Berkeley, CA"
# Your Gravatar email. Overwrite `author.picture` everywhere in the blog
gravatarEmail = ""
# Your profile picture
# Overwritten by your gravatar image if `author.gravatarEmail` is filled
picture = "/img/profile.jpg"
# Your Twitter username without the @. E.g : thibaudlepretre
# twitter = "thibaudlepretre"
# ------------
# Sidebar menu
# ------------
[[menu.main]]
weight = 1
identifier = "home"
name = "Home"
pre = "<i class=\"sidebar-button-icon fas fa-lg fa-home\" aria-hidden=\"true\"></i>"
url = "/"
[[menu.main]]
weight = 2
identifier = "categories"
name = "Categories"
pre = "<i class=\"sidebar-button-icon fas fa-lg fa-bookmark\" aria-hidden=\"true\"></i>"
url = "/categories"
[[menu.main]]
weight = 3
identifier = "tags"
name = "Tags"
pre = "<i class=\"sidebar-button-icon fas fa-lg fa-tags\" aria-hidden=\"true\"></i>"
url = "/tags"
[[menu.main]]
weight = 4
identifier = "archives"
name = "Archives"
pre = "<i class=\"sidebar-button-icon fas fa-lg fa-archive\" aria-hidden=\"true\"></i>"
url = "/archives"
[[menu.main]]
weight = 5
identifier = "about"
name = "About"
pre = "<i class=\"sidebar-button-icon fas fa-lg fa-user\" aria-hidden=\"true\"></i>"
url = "/page/about"
[[menu.links]]
weight = 0
identifier = "github"
name = "GitHub"
pre = "<i class=\"sidebar-button-icon fab fa-lg fa-github\" aria-hidden=\"true\"></i>"
url = "https://github.com/dlzou"
[[menu.links]]
weight = 0
identifier = "linkedin"
name = "LinkedIn"
pre = "<i class=\"sidebar-button-icon fab fa-lg fa-linkedin\" aria-hidden=\"true\"></i>"
url = "https://linkedin.com/in/dlzou"
[[menu.misc]]
weight = 0
identifier = "rss"
name = "RSS"
pre = "<i class=\"sidebar-button-icon fas fa-lg fa-rss\" aria-hidden=\"true\"></i>"
url = "/index.xml"
# -------------
# Customization
# -------------
[params]
# -----------
# Description
# -----------
description = "Portfolio, commentary, and more."
# ------------------
# Syntax highlighter
# ------------------
# Syntax highlighter, possible choice between: "highlight.js" and "prism.js"
# You can comment it to disable syntax highlighting
syntaxHighlighter = "highlight.js"
# -----------
# Date format
# -----------
# Customize date format use to render blog post date, categories and other
# You must use date format used by Go Time package https://golang.org/pkg/time/
# Months (not work with short month like "jan", "feb", etc) are translated if translation exists on i18n folders
# Default format is: January 2, 2006
dateFormat = "2006-01-02"
# ---------------------------
# Posts related configuration
# ---------------------------
# Global keywords configuration. Following keywords will be add to every pages
# keywords = ["development", "next-gen"]
# Hide sidebar on all article page to let article take full width to improve reading, and enjoy wide images and cover images. (true: enable, false: disable)
clearReading = true
# Define categories will create hierarchy between parents: `categories = ["foo", "bar"]` will consider "bar" a sub-category of "foo".
# If false it will flat categories.
hierarchicalCategories = true
# Display `Next` on left side of the pagination, and `Prev` on right side one.
# If you set this value to `true`, these positions swap.
# swapPaginator = true
# ---------------------
# Sidebar configuration
# ---------------------
# Customization
# Define the behavior of the sidebar
# 1: Display extra large sidebar on extra large screen, large sidebar on large screen,
# medium sidebar on medium screen and header bar on small screen and
# extra large sidebar is swiped on extra large screen and large sidebar on all lower screen (default)
# 2: Display large sidebar on large screen, medium sidebar on medium screen and
# header bar on small screen and large sidebar is swiped
# 3: Display medium sidebar on large and medium screen and header bar on small screen and
# medium sidebar is swiped
# 4: Display header bar on all screens, extra large sidebar is swiped on extra large screen and
# large sidebar is swiped on all lower screens
# 5: Display header bar on all screens and large sidebar is swiped on large screen
# 6: Display header bar on all screens and medium sidebar is swiped
sidebarBehavior = 2
# Customize link of author avatar in sidebar
# [params.sidebar.profile]
# url = "/#about"
# -------------------
# Media configuration
# -------------------
# Your blog cover picture. I STRONGLY recommend you to use a CDN to speed up loading of pages.
# There is many free CDN like Cloudinary or you can also use indirectly
# by using services like Google Photos.
# Current image is on AWS S3 and delivered by AWS CloudFront.
# Otherwise put your image, for example `cover.jpg` in folder `static/images/`,
# and use relative url : `images/cover.jpg`
# coverImage = "https://drive.google.com/uc?export=view&id=11zUuGORkls3eDVU92Hnp133PPwAgxOKi"
coverImage = "/img/cover.jpg"
# Display an image gallery at the end of a post which have photos variables (false: disabled, true: enabled)
imageGallery = true
# Display thumbnail image of each post on index pages (false: disabled, true: enabled)
thumbnailImage = true
# Display thumbnail image at the right of title in index pages (`right`, `left` or `bottom`)
# Set this value to `right` if you have old posts to keep the old style on them
# and define `thumbnailImagePosition` on a post to overwrite this setting
thumbnailImagePosition = "bottom"
# Automatically select the cover image or the first photo from the gallery of a post if there is no thumbnail image as the thumbnail image
# Set this value to `true` if you have old posts that use the cover image or the first photo as the thumbnail image
# and set `autoThumbnailImage` to `false` on a post to overwrite this setting
autoThumbnailImage = false
# Your favicon path, default is "/favicon.png"
favicon = "/img/favicon.png"
# ------------------
# External resources
# ------------------
# Custom CSS. Put here your custom CSS files. They are loaded after the theme CSS;
# they have to be referred from static root. Example
# [[params.customCSS]]
# href = "css/mystyle.css"
[[params.customCSS]]
href = "css/style.css"
# Custom JS. Put here your custom JS files. They are loaded after the theme JS;
# they have to be referred from static root. Example
# [[params.customJS]]
# src = "js/myscript.js"
# [[params.customJS]]
# src = "https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.1.0/languages/apache.min.js"
# integrity = "sha512-gE8KAQyFIzV1C9+GZ8TKJHZS2s+n7EjNtC+IMRn1l5+WYJTHOODUM6JSjZhFhqXmc7bG8Av6XXpckA4tYhflnw=="
# crossorigin = "anonymous"
# async = true
# defer = true
# ---------------
# Sharing options
# ---------------
# Comment and uncomment to enable or disable sharing options
# If you wanna add a sharing option, read user documentation :
# Tranquilpeak configuration > Theme configuration > sharing-options
# [[params.sharingOptions]]
# name = "Facebook"
# icon = "fab fa-facebook-square"
# url = "https://www.facebook.com/sharer/sharer.php?u=%s"
[[params.sharingOptions]]
name = "Twitter"
icon = "fab fa-twitter"
url = "https://twitter.com/intent/tweet?text=%s"
# [[params.sharingOptions]]
# name = "Whatsapp"
# icon = "fab fa-whatsapp"
# url = "https://wa.me/?text=%s"
[[params.sharingOptions]]
name = "Linkedin"
icon = "fab fa-linkedin"
url = "https://www.linkedin.com/sharing/share-offsite/?url=%s"
[[params.sharingOptions]]
name = "Reddit"
icon = "fab fa-reddit"
url = "https://www.reddit.com/submit?url=%s"
# [[params.sharingOptions]]
# name = "Pocket"
# icon = "fab fa-get-pocket"
# url = "https://getpocket.com/edit?url=%s"
[[params.sharingOptions]]
name = "Hacker News"
icon = "fab fa-hacker-news"
url = "https://news.ycombinator.com/submitlink?u=%s"
# -------------------
# Integrated services
# -------------------
# Gravatar
# >> See Author section
# [author]
# gravatarEmail =
# Google Analytics
# >> See googleAnalytics
# Your Facebook user ids used to connect your blog with your facebook user accounts (Facebook Insights). Separate ids with comma. e.g : 9830047,1003342
# fbAdminIds =
# Your Facebook app id used to connect your blog with your facebook app account (Facebook Insights). E.g : 9841307
# fbAppId =
# --------------
# Comment system
# --------------
# [params.comment]
# [params.comment.disqus]
# enable = true
# shortname = "hugo-tranquilpeak-theme"
# [params.comment.gitalk]
# enable = false
# # clientId =
# # clientSecret =
# # owner =
# # repo =
# # See all options: https://github.com/gitalk/gitalk#options
# [params.comment.gitalk.options]
# language = "en"
# perPage = 10
# distractionFreeMode = false
# enableHotKey = true
# pagerDirection = "first"
# --------------------
# Header configuration
# --------------------
# The link at the right of the header is customizable
# You can add a link (as an icon) at the right of the header instead of the author's gravatar image or author's picture.
# By default, author's gravatar or author's picture is displayed.
# url: /#search
# icon: search
# class: st-search-show-outputs
[params.header.rightLink]
class = ""
icon = ""
url = "/#about"
# --------------------
# Footer configuration
# --------------------
# Customize copyright value "© 2017 <CUSTOMIZATION>. All Rights Reserved"
# [params.footer]
# copyright = "<a href=\"https://github.com/kakawait\">kakawait</a>"