forked from kristofzerbe/kiko.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_config.yml
More file actions
288 lines (260 loc) · 6.38 KB
/
_config.yml
File metadata and controls
288 lines (260 loc) · 6.38 KB
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
# Hexo Configuration
## Docs: https://hexo.io/docs/configuration.html
## Source: https://github.com/hexojs/hexo/
# Development
offline: false
# Site
title: kiko.io
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
icon: /images/icon-192x192.png
keywords:
author: Kristof Zerbe
email: kristof.zerbe@gmail.com
photo: /images/kristof-zerbe.png
github_user: kristofzerbe
# 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
public_dir: docs
archive_dir: archives
tag_dir: tags
category_dir: categories
code_dir: downloads/code
notes_dir: notes
template_dir: templates
i18n_dir: :lang
skip_render:
# Writing
new_post_name: :title.md # File name of new posts
default_layout: post
titlecase: false # Transform title into titlecase
external_link:
enable: false # Open external links in new tab
field: site #Applies to the whole site or post only
filename_case: 0
render_drafts: false
post_asset_folder: true
marked:
prependRoot: true
postAsset: true
relative_link: false
future: false
highlight:
enable: true
line_number: true
auto_detect: true
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
# 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
categories/index.html: archives/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
# JSON Content : https://github.com/alexbruno/hexo-generator-json-content
jsonContent:
meta: true
drafts: false
file: content.json
keywords: english
dateFormat: YYYY-MM-DD
pages:
title: true
slug: false
date: true
updated: true
comments: false
path: true
link: false
permalink: true
excerpt: true
keywords: false
text: true
raw: false
content: false
author: true
posts:
title: true
subtitle: true
series: true
part: true
slug: false
date: true
updated: true
comments: false
path: true
link: false
permalink: true
excerpt: true
keywords: true
text: true
raw: false
content: false
author: true
categories: true
tags: true
# Feed : https://github.com/sergeyzwezdin/hexo-feed
# all switched off in favor of custom feed generators
# -> uses limit, order_by, icon and logo
feed:
default: atom.xml
limit: 20
order_by: "-date"
icon: images/favicon-32x32.png
logo: images/icon-72x72.png
tag_dir: false
category_dir: false
atom:
enable: false
rss:
enable: false
jsonFeed:
enable: false
# Sitemap File: https://github.com/hexojs/hexo-generator-sitemap
sitemap:
path: sitemap.xml
template: ./templates/sitemap.xml
# Info API
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
# Codepen Defaults
codepen:
user_id: "kristofzerbe"
default_tab: "js"
height: 400
width: "100%"
# Indiepen Defaults
indiepen:
default_tab: "result"
height: 450
# pirsch.io
pirsch:
enabled: true
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
# 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