-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.toml
117 lines (92 loc) · 3.01 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
baseURL = "https://prateeknischal.github.io"
title = "The Impatient Software Engineer"
theme = "fuji"
hasCJKLanguage = true
enableEmoji = false
enableRobotsTXT = true
disableKinds = ["taxonomy"]
ignoreErrors = ["error-disable-taxonomy"]
## Change this two to switch between different language
languageCode = "en" # For RSS, view https://www.rssboard.org/rss-language-codes
defaultContentLanguage = "en" # For HTML page, now support: en, zh-hans, zh-hant, ja, nl, pl, it
summaryLength = 100 # Custom summary length, add <!--more--> in post file to custom split point
paginate = 10
googleAnalytics = "G-W9Z8MHH4V6"
[outputFormats]
[outputFormats.SearchIndex]
isPlainText = true
notAlternative = true
mediaType = "application/json"
path = "/search/"
[outputs]
home = ["HTML", "RSS", "SearchIndex"]
[permalinks]
post = "/:section/:filename/" # Custom post links, e.g. "/:year/:month/:title/"
[params]
author = "Prateek" # You can also set author in post front matter individually
subTitle = "A log for thoughts and experiments"
defaultTheme = "dark" # default theme when first visit (auto|dark|light)
# Source URL of the website, will appear in the footer
sourceURL = "https://github.com/prateeknischal/prateeknischal.github.io"
# Word counter and read time indicator in post metadata
showWordCounter = true
showReadTime = true
# License in the footer
showLicenseInFooter = false
# License at the end of each post
showLicense = true
showToc = true
# Copyright
copyrightStartYear = "2020"
# favicon
favicon = "img/favicon.ico"
# Open Graph & Twitter Card variables
# You can also set description and images in post front matter individually
description = "A minimal Hugo theme with nice theme color."
og = "/img/og.png" # This will use the image called og.png in static/img folder
# Posts shown in homepage
mainSections = ["posts"]
# License
license = "CC BY-NC-SA 4.0"
licenseLink = "http://creativecommons.org/licenses/by-nc-sa/4.0/"
# custom lazyload placeholder
# 16:9
lazyPlaceholder = "/assets/lazyload/dsrca_loading_480x270.svg"
# 32:9
lazyPlaceholderRow = "/assets/lazyload/dsrca_loading_960x270.svg"
# 8:9
lazyPlaceholderCol = "/assets/lazyload/dsrca_loading_480x540.svg"
# Let images display in full brightness under dark mode
disableDarkImage = true
[markup]
[markup.goldmark]
[markup.goldmark.renderer]
unsafe = true # Enable user to embed HTML snippets in Markdown content
[markup.highlight]
codeFences = false # Disable Hugo's code highlighter
[markup.tableOfContents]
startLevel = 2
endLevel = 3
[taxonomies]
tag = "tags"
[menu]
[[menu.nav]]
name = "Home"
url = "/posts"
weight = 1
[[menu.nav]]
name = "About"
url = "/about/"
weight = 2
[[menu.nav]]
name = "RSS"
url = "/index.xml"
weight = 3
[[menu.link]]
name = "GitHub"
url = "https://github.com/prateeknischal"
weight = 1
[[menu.link]]
name = "Twitter"
url = "https://twitter.com/pikaynu"
weight = 2