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

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

author:
  default:
    footer: canory
    home: canory
    picturegallery: 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
    refresh:
  webmanifest:
    name: Micro Blog
    shortName: Micro
    themeColor: '#ffffff'
    backgroundColor: '#ffffff'
    display: standalone
    logo: images/logo.png
  csp:
    upgrade: false
    referrer: origin
    childsrc: ["'self'"]
    fontsrc: ["'self'"]
    formaction: ["'self'", lite.duckduckgo.com]
    framesrc: ["'self'", imgur.com, www.youtube-nocookie.com, platform.twitter.com,
      en.m.wikipedia.org, odysee.com, docs.google.com]
    imgsrc: ["'self'", http://preview.test, imgs.xkcd.com]
    mediasrc: ["'self'", raw.githubusercontent.com]
    objectsrc: ["'none'"]
    prefetchsrc: ["'self'"]
    scriptsrc: ["'self'", s.imgur.com, platform.twitter.com]
    scriptsrcelem: ["'self'", s.imgur.com, platform.twitter.com]
    stylesrc: ["'self'", "'unsafe-inline'", http://preview.test]
    connectsrc: ["'self'"]
  search:
    verification:
      google:
      bing:
      yandex:

outputFormats:
  html:
    baseName: index
    mediaType: text/html
  json:
    baseName: index
    mediaType: application/json
  rss:
    baseName: rss
    mediaType: application/xml
  authors:
    path: authors
    baseName: index
    mediaType: text/html
  archive-messages:
    path: archives/messages
    baseName: index
    mediaType: text/html
  archive-tags:
    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

outputs:
  home:
  - html
  - rss
  - json
  - authors
  - sources
  - browserconfig
  - archive-messages
  - archive-tags
  - webmanifest
  section:
  - html
  - rss
  taxonomy:
  - html
  - rss
  term:
  - html
  - rss
  page:
  - html

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/raw
  - source: themes/default/layouts
    target: static/source/files
  - source: data
    target: static/data