aboutsummaryrefslogtreecommitdiff
path: root/static/admin/config.yml
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2023-02-21 16:21:51 +0100
committerQuentin Dufour <quentin@deuxfleurs.fr>2023-02-21 16:21:51 +0100
commitb92e518eaa0e3baeef460667dee0929d5b19cc3d (patch)
tree3025dc24fa5f8d9b4e29797114febd225e614fc4 /static/admin/config.yml
parentdca1ce669b5a83acd395518872102ddf10f20372 (diff)
downloadguide.deuxfleurs.fr-b92e518eaa0e3baeef460667dee0929d5b19cc3d.tar.gz
guide.deuxfleurs.fr-b92e518eaa0e3baeef460667dee0929d5b19cc3d.zip
add static CMS
Diffstat (limited to 'static/admin/config.yml')
-rw-r--r--static/admin/config.yml33
1 files changed, 33 insertions, 0 deletions
diff --git a/static/admin/config.yml b/static/admin/config.yml
new file mode 100644
index 0000000..8968119
--- /dev/null
+++ b/static/admin/config.yml
@@ -0,0 +1,33 @@
+backend:
+ name: gitea
+ repo: foobar/guide.web.vimaire.machine.dufour.io
+ base_url: http://teabag.vimaire.machine.dufour.io
+ api_root: http://git.vimaire.machine.dufour.io/api/v1
+ branch: main
+
+media_folder: 'static/img/'
+site_url: http://guide.web.vimaire.machine.dufour.io
+display_url: http://guide.web.vimaire.machine.dufour.io
+locale: 'en'
+
+collections:
+ - name: 'wiki'
+ label: 'Wiki'
+ folder: 'content'
+ editor:
+ preview: false
+ create: true
+ nested:
+ depth: 10
+ summary: '{{ title }}'
+ fields:
+ - label: Title
+ name: title
+ widget: string
+ - label: Weight
+ name: weight
+ widget: number
+ - label: Body
+ name: body
+ widget: markdown
+ meta: { path: { widget: string, label: 'Path', index_file: '_index' } }