-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.yaml
210 lines (191 loc) · 4.57 KB
/
config.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
baseURL: https://palant.info/
languageCode: en-us
copyright: "This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License"
title: "Almost Secure"
rssLimit: 10
timeout: 60
params:
enableHeader: true
displayHeaderInHome: true
headerBackground: 'linear-gradient(90deg, rgb(255 160 0 / 0.2) 0%, rgb(255 224 0 / 0.2) 100%)'
headerLayout: "flex"
enableNavToggle: true
navHeight: "10em"
siteBrandFontSize: 1
siteBrandFontColor: "var(--color-contrast-high)"
enableMenu: true
displayMenuInHome: true
activeInSection: true
homeLayout: "posts"
siteLogo: "/icons/apple-touch-icon.png"
siteDescription: "Wladimir Palant's blog"
siteCreatedTime: "2006-07-10T00:00:00+00:00"
author:
name: Wladimir Palant
fediverse: "@[email protected]"
categoryBy: "categories"
enableTree: false
displayPosts: false
displayPostsCount: true
listWidth: 42
displayListTitle: true
listDateFormat: "January 2"
listDatePosition: "right"
groupByMonth: false
i18nYear: false
i18nMonth: false
displayTaxonomyTermCount: true
limitEntriesLimit: 5
mainSections:
- "articles"
includeContent: true
enableDarkMode: true
defaultTheme: "light"
hideThemeToggle: false
hideThemeToggleInHome: false
themeColor: "#fff"
themeColorDark: "#282a36"
safariMaskColor: "#2a6df4"
msApplicationTileColor: "#fff"
openGraph: true
twitterCards: true
autoDetectImages: true
enableSRI: true
enablePostShare: true
displayPostShare: true
displayShareOnText: true
postShareItems:
- mastodon
- fediverse
- facebook
- linkedin
- hackernews
- pocket
- email
fetchFediverseInstances: true
enablePostCopyright: true
duration: 0.5
primaryColorLight: "220, 90%, 56%"
primaryColorDark: "201, 65%, 62%"
postWidth: 42
original: true
enablePostMeta: true
enablePostMetaInHome: true
postMetaDateFormat: "2006-01-02"
displayPublishedDate: true
publishedDateIcon: "calendar-alt"
displayModifiedDate: false
modifiedDateIcon: "calendar-check"
displayExpiredDate: false
expiredDateIcon: "calendar-times"
displayCategory: true
categoryIcon: "folder"
categoryDelimiter: "/"
displayWordCount: false
wordCountIcon: "pencil-alt"
displayReadingTime: true
readingTimeIcon: "clock"
hrefTargetBlank: false
enableTOC: false
enableHeadingsAnchor: true
headingsOpt: "1-6"
anchorSymbol: "#"
anchorIcon: "link"
enableAnchorLink: true
enableAnchorAutoHide: true
squareBrackets: true
footnoteReturnLinkIcon: "angle-up"
insertHrBySelf: true
fontFamilySiteBrand: "'Orkney', sans-serif"
fontFamilyTitle: "'Orkney', sans-serif"
fontFamilyHeadings: "'Orkney', sans-serif"
fontFamilyCode: "'mononoki', monospace"
fontFamilyBody: "'Lato', sans-serif"
fontSize: 20
# Make sure rgb() in headerBackground is kept verbatim and not messed up
lineHeight: '0;@function rgb($value) {@return #{ "rgb(" + $value + ")" };}$lineHeight: 1.618'
enableRelatedPosts: true
displayRelatedPosts: true
relatedPostsNumber: 5
relatedPostsIcon: "plus-circle"
enableFooter: true
enableSocials: true
enableFingerprint: true
enableHighlight: true
enableLunrSearch: true
fofPoster: ""
theme: meme
taxonomies:
category: categories
related:
threshold: 80
includeNewer: true
toLower: true
indices:
- name: "categories"
weight: 100
- name: "date"
weight: 10
pattern: "2006"
enableRobotsTXT: true
pygmentsUseClasses: true
permalinks:
articles: /:year/:month/:day/:slug/
projects: /:year/:month/:day/:slug/
outputFormats:
MainRSS:
baseName: rss
mediaType: "application/rss+xml"
MozillaRSS:
baseName: pmo
mediaType: application/rss+xml
SearchIndex:
baseName: search
mediaType: application/json
outputs:
home:
- HTML
- MainRSS
- MozillaRSS
- SearchIndex
disableKinds:
- RSS
menu:
main:
- Name: Home
pageref: /
Weight: 1
pre: "internal"
post: "home"
- Name: Articles
pageref: /articles/
Weight: 2
pre: "internal"
post: "archive"
- pageref: "/categories/"
name: "Categories"
weight: 3
pre: "internal"
post: "th"
- pageref: "/about/"
name: "About"
weight: 4
pre: "internal"
post: "user-circle"
- identifier: "theme-switcher"
weight: 5
- identifier: "search"
weight: 6
markup:
goldmark:
extensions:
linkify: false
parser:
autoHeadingIDType: blackfriday
attribute:
block: true
renderer:
unsafe: true
tableOfContents:
startLevel: 2
endLevel: 8