aboutsummaryrefslogtreecommitdiff
path: root/config.yaml
blob: 452f1d0a02aab9fe3619f2a6d026935a169c874a (plain)
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
---
baseURL:
theme: default
title: A Micro Blog

paginate: 10
summaryLength: 1
enableEmoji: true
buildDrafts: true
buildExpired: true
languageCode: en-us
enableRobotsTXT: true

author:
  list:
  - canory
  - default
  - nobody
  default:
    footer: canory
    home: canory
    picturegallery: canory
    title: canory
    user: default
    webring: canory
  footer: >
    A Micro Blog

taxonomies:
  tag: tags

menu:
  main:
  - name: Home
    url: /
    identifier: feather/home
    weight: 1
  - name: Tags
    url: /tags/
    identifier: feather/tag
    weight: 2
    icon: home
  - name: History
    url: /archives/messages/
    identifier: tabler/clock
    weight: 3
  - name: Records
    url: /archives/tags/
    identifier: tabler/book-2
    weight: 4
  - name: Authors
    url: /authors/
    identifier: feather/users
    weight: 5
  - name: RSS Feed
    url: /rss.xml
    identifier: feather/rss
    weight: 6
  - name: JSON Feed
    url: /index.json
    identifier: feather/circle
    weight: 7
  - name: Sources
    url: /sources/
    identifier: feather/git-commit
    weight: 8

markup:
  highlight:
    anchorLineNos: true
    codeFences: true
    guessSyntax: true
    lineNos: false
    lineNumbersInTable: false
    noClasses: false
    noHl: false

params:
  site:
    production: false
    referrer: no-referrer
    refresh:
    robots: index,follow
  webmanifest:
    name: Micro Blog
    shortName: Micro
    themeColor: '#ffffff'
    backgroundColor: '#ffffff'
    display: standalone
    logo: data/media/logo.png
  csp:
    block-all-mixed-content: ''
    base-uri: ["'self'"]
    child-src: ["'self'"]
    connect-src: ["'self'"]
    default-src: ["'self'"]
    font-src: ["'self'"]
    form-action: ["'self'", lite.duckduckgo.com]
    frame-src: ["'self'", www.youtube-nocookie.com, platform.twitter.com, en.m.wikipedia.org,
      odysee.com, www.gutenberg.org]
    img-src: ["'self'", http://preview.test, www.gutenberg.org]
    manifest-src: ["'self'"]
    media-src: ["'self'"]
    object-src: ["'self'", www.gutenberg.org]
    prefetch-src: ["'self'"]
    script-src-elem: ["'self'", platform.twitter.com]
    script-src: ["'self'", platform.twitter.com]
    style-src: ["'self'", "'unsafe-inline'", http://preview.test]
    worker-src: ["'self'"]
  search:
    verification:
      google:
      bing:
      yandex:

related:
  includeNewer: false
  indices:
  - name: tags
    weight: 80
  - name: date
    weight: 10
  threshold: 80
  toLower: false

mediaTypes:
  application/xslt+xml:
    suffixes:
    - xsl

outputFormats:
  html:
    baseName: index
    mediaType: text/html
  plain:
    baseName: index
    mediaType: text/plain
  json:
    baseName: index
    mediaType: application/json
  rss:
    baseName: rss
    mediaType: application/rss+xml
  xslt.rss:
    baseName: rss
    mediaType: application/xslt+xml
  xslt.sitemap:
    baseName: sitemap
    mediaType: application/xslt+xml
  authors:
    path: authors
    baseName: index
    mediaType: text/html
  authors.section:
    baseName: authors
    mediaType: text/html
  history:
    path: archives/messages
    baseName: index
    mediaType: text/html
  records:
    path: archives/tags
    baseName: index
    mediaType: text/html
  sources:
    path: sources
    baseName: index
    mediaType: text/html
  browserconfig:
    baseName: browserconfig
    mediaType: application/xml
  webmanifest:
    baseName: site
    mediaType: application/manifest+json
  gallery:
    baseName: gallery
    mediaType: text/html
  following:
    baseName: following
    mediaType: text/html
  webring:
    baseName: webring
    mediaType: text/html

outputs:
  home:
  - html
  - rss
  - xslt.rss
  - xslt.sitemap
  - json
  - authors
  - authors.section
  - sources
  - browserconfig
  - history
  - records
  - webmanifest
  section:
  - html
  - rss
  - gallery
  - following
  - webring
  taxonomy:
  - html
  - rss
  term:
  - html
  - rss
  page:
  - html
  - plain

caches:
  assets:
    dir: :resourceDir/_gen
    maxAge: -1
  images:
    dir: :resourceDir/_gen
    maxAge: -1
  getcsv:
    dir: :resourceDir/caches
    maxAge: 12h
  getjson:
    dir: :resourceDir/caches
    maxAge: 12h
  getresource:
    dir: :resourceDir/caches
    maxAge: 12h
  modules:
    dir: :resourceDir/caches
    maxAge: -1

module:
  mounts:
  - source: content
    target: content
  - source: static
    target: static
  - source: layouts
    target: layouts
  - source: data
    target: data
  - source: assets
    target: assets
  - source: i18n
    target: i18n
  - source: archetypes
    target: archetypes

  - source: content
    target: static/data/generates/content
  - source: themes/default/layouts
    target: static/sources/files
  - source: data
    target: static/data
  - source: public/data/generates/content
    target: content
  - source: public/data/generates/authors
    target: data/authors
  - source: public
    target: assets/public

sitemap:
  changefreq: weekly
  filename: sitemap.xml
  priority: 0.5