-
Notifications
You must be signed in to change notification settings - Fork 1
/
_config.yml
389 lines (356 loc) · 9.9 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
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
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
# Hexo Configuration
## Docs: https://hexo.io/docs/configuration.html
## Source: https://github.com/hexojs/hexo/
meta_generator: Hexo 7.2.0
# Development
offline: false
features_available:
pirsch: false
# Site
title: kiko.io
designation: kiko.io's {TITLE}
subtitle: Memorable (Tech) Stuff
description: Blog about memorable (tech) stuff by Kristof Zerbe
description_short: by Kristof Zerbe
language: en
timezone: Europe/Berlin
hero:
file: $19-05-Israel-0228.jpg
name: Sea Wall
url: /images/hero.jpg
favicon: favicon.ico
icon: /images/icon-192x192.png
keywords:
author: Kristof Zerbe
photo: /images/kristof-zerbe.png
avatar: /images/kristof-zerbe-400.jpg
email: kristof.zerbe@gmail.com
profiles:
mastodon: https://indieweb.social/@kiko
github: https://github.com/kristofzerbe
devto: https://dev.to/kristofzerbe
xing: https://www.xing.com/profile/Kristof_Zerbe
linkedin: https://www.linkedin.com/in/kristof-zerbe-91012510/
fivehundredpx: https://500px.com/p/kikon
flickr: https://flickr.com/photos/kzerbe/
unsplash: https://unsplash.com/de/@kristofz
pixelfed: https://pixelfed.social/kristofz
lemmy: https://programming.dev/u/kiko
mastodon:
server: indieweb.social
user: kiko
syndication_hosts: # on extension see article.styl '.syndication-link'
- name: Mastodon
webmention: true
- name: Twitter
webmention: false
- name: IndieNews
webmention: false
- name: DevTo
webmention: false
- name: 500px
webmention: false
- name: Flickr
webmention: true
- name: Pixelfed
webmention: false
- name: Unsplash
webmention: false
- name: Lemmy
webmention: false
# Services
osm_tile_server: https://tile.openstreetmap.org/
favicon_service_url: https://t2.gstatic.com/faviconV2?client=SOCIAL&type=FAVICON&fallback_opts=TYPE,SIZE,URL&url={URL}&size=32
api_proxy_base_url: https://mentions-united-api-proxy.up.railway.app
#DEBUG api_proxy_base_url: http://localhost:8692
# URL
## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/'
url: https://kiko.io
root: /
#OLD: permalink: categories/:category/:title/
permalink: post/:name/ # take name only; title includes source-subfolders
permalink_defaults:
# Directory
source_dir: source
static_dir: static
photo_dir: photos
pool_dir: pool
shed_dir: shed
reserve_dir: reserve
public_dir: docs
archive_dir: archives
tag_dir: archives/tags
category_dir: archives/categories
code_dir: downloads/code
notes_dir: notes
data_dir: data
template_dir: templates
i18n_dir: :lang
skip_render:
# Writing
new_post_name: :year/:title.md # Folder and file name of new posts
default_layout: draft
titlecase: false # Transform title into titlecase
filename_case: 0
render_drafts: false
post_asset_folder: true
# Markdown Renderer
# https://github.com/hexojs/hexo-renderer-marked?tab=readme-ov-file
marked:
prependRoot: true # Prepend config.root to internal images
postAsset: true # Resolve post asset's image path to relative path
descriptionLists: false # Support for description lists syntax
autolink: false # Autolink for URLs and mail adresses, BUT doesn't work for Fediverse adresses!
mangle: false # Obscure email address
relative_link: false
future: false
syntax_highlighter: highlight.js
highlight:
auto_detect: false
line_threshold: 0
tab_replace: ''
line_number: false
wrap: false
prismjs:
preprocess: true
line_number: true
line_threshold: 0
tab_replace: ''
# Home page setting
# path: Root path for your blogs index page. (default = '')
# per_page: Posts displayed per page. (0 = disable pagination)
# order_by: Posts order. (Order by date descending by default)
index_generator:
path: ''
per_page: 8
order_by: -date
archive_generator:
enabled: true
per_page: 12
yearly: true
monthly: true
daily: false
order_by: -date
# Category & Tag
default_category: uncategorized
category_map:
tag_map:
# Date / Time format
## Hexo uses Moment.js to parse and display date
## You can customize the date format as defined in
## http://momentjs.com/docs/#/displaying/format/
date_format: YYYY-MM-DD
time_format: HH:mm:ss
updated_option: 'date'
# Pagination
## Set per_page to 0 to disable pagination
per_page: 24
pagination_dir: page
# Extensions
## Plugins: https://hexo.io/plugins/
## Themes: https://hexo.io/themes/
theme: landscape
# Include/Exclude files/folders in source folder
#include:
#exclude:
# Ignore files/folders in all folders
#ignore:
# Stylus https://github.com/hexojs/hexo-renderer-stylus
stylus:
compress: true
# sourcemaps:
# comment: true
# inline: true
# sourceRoot: ''
# basePath: .
#plugins: 'nib'
# Deployment - NOT NECESSARY AND USEFUL
# deploy:
# type: git
# repo: https://github.com/kristofzerbe/kiko.io.git
# branch: master
# BrowserSync : https://github.com/hexojs/hexo-browsersync
browsersync:
logLevel: "warn"
ghostMode:
scroll: true
instanceName: "kiko_io"
# Alias : https://github.com/hexojs/hexo-generator-alias
alias:
tags/index.html: archives/index.html
archives/tags/index.html: archives/index.html
categories/index.html: archives/index.html
archives/categories/index.html: archives/index.html
tools/index.html: tools/tiny-tools/index.html
# Anything : https://github.com/kristofzerbe/hexo-generator-anything
anything:
layout_index: anything-index
layout_posts: anything-page
index_mappings:
- variable: series
path: series
- variable: project
path: projects
# Feed: WAS! https://github.com/sergeyzwezdin/hexo-feed
# uninstalled in favor of custom feed generators
feed:
# default: atom.xml
limit: 20
icon: images/favicon-32x32.png
logo: images/icon-72x72.png
opml_template: feeds-opml.handlebars
opml_path: .well-known/feeds
feed_types:
- template: feed-atom-full.ejs
title: Atom Feed (Full Content)
description: Last :limit posts as Atom feed
version: ATOM1
content: application/atom+xml
output: atom.xml
generator: true
alternate_link: true
- template: feed-atom-excerpt.ejs
title: Atom Feed (Excerpt)
description: Last :limit posts with excerpt only as Atom feed
version: ATOM1
content: application/atom+xml
output: atom-excerpt.xml
generator: true
alternate_link: false
- template: feed-rss-full.ejs
title: RSS Feed (Full Content)
description: Last :limit posts as RSS feed
version: RSS2
content: application/rss+xml
output: rss.xml
generator: true
alternate_link: true
- template: feed-rss-excerpt.ejs
title: RSS Feed (Excerpt)
description: Last :limit posts with excerpt only as RSS feed
version: RSS2
content: application/rss+xml
output: rss-excerpt.xml
generator: true
alternate_link: false
- template: feed-json-full.ejs
title: JSON Feed (Full Content)
description: Last :limit posts as JSON feed
version: JSON1
content: application/feed+json
output: feed.json
generator: true
alternate_link: true
- template: feed-json-excerpt.ejs
title: JSON Feed (Excerpt)
description: Last :limit posts with excerpt only as JSON feed
version: JSON1
content: application/feed+json
output: feed-excerpt.json
generator: true
alternate_link: false
- template: feed-html-excerpt.handlebars
title: HTML Microformats Feed (Excerpt)
description: Last :limit arcticles with excerpt only as HTML Microformats feed
version: MF2HTML
content: application/mf2+html
output: feeds/index.html
generator: false
alternate_link: true
# Blogroll
blogroll:
data_file: "21.13 Blogroll.md"
opml_template: blogroll-opml.handlebars
opml_path: blogroll.xml
# Search (OpenSearch)
search:
path: search
url_parameter: q
opensearch_template: opensearch.handlebars
opensearch_path: opensearch.xml
# Sitemap: WAS! https://github.com/hexojs/hexo-generator-sitemap
sitemap:
path: sitemap.xml
template: sitemap.handlebars
# Slash Index Page (in order of appearance)
slashes:
- folder: _dynamic
items:
- search
- feeds
- about
- _contact
- _sitemap
- blogroll
- folder: colophon
- folder: uses
- folder: impressum
# Codepen Defaults
codepen:
user_id: "kristofzerbe"
default_tab: "js"
height: 400
width: "100%"
# Indiepen Defaults
indiepen:
default_tab: "result"
height: 450
# pirsch.io
pirsch:
code: aJ835msd85Jl5WkTLtS76XLxVxSm4ODZ
# webmention.io
webmention:
api_key: K0b-wdw81R-vDTfvXjdW0g #not necessary to secure, because mentions on webmention.io are public
# Trello (./themes/landscape/scripts/generator-dynamic-trello)
# > Url-Parameter: https://webapps.stackexchange.com/questions/47272/how-to-construct-url-of-trello-json-download-from-board-url-without-using-the-a
trello:
boards:
- name: Collections
url: https://trello.com/b/D6zIhLus/collections.json?fields=all&cards=all&card_fields=all&card_attachments=true&lists=all&list_fields=all
pages:
- name: tiny-tools
list: TinyTools
preview_width: 300
# Trello Discoveries Generator Script
discoveries:
board:
url: https://trello.com/b/D6zIhLus/collections.json
parameters:
- key: fields
value: name
- key: lists
value: all
- key: list_fields
value: name
- key: cards
value: all
- key: card_fields
value: closed,desc,idList,name
- key: card_attachments
value: true
- key: card_attachment_fields
value: bytes,mimeType,name,previews
- key: customFields
value: true
- key: card_customFieldItems
value: true
template: discoveries.handlebars
# Info API ... ERRORS
# hexo_info_api:
# allowOrigin: "*" # Set to "*" to allow all origins (Access-Control-Allow-Origin)
# enable: # enable what api u need
# - getInfo
# - getPostCount
# - getPosts
# - getPostsByCategory
# - getPostsByCategoryId
# - getPostsByTag
# - getPostsByTagId
# - getPostByPath
# - getPostById
# - getCategories
# - getTags
# - getLatestPost
# - getLatest5Posts
# # Disable default api(host:port/api/) default: false
# disable_default_api: false