about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2021-03-16 23:08:06 +0100
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2021-03-16 23:08:06 +0100
commit768315a5ec27b4ab681a57eb126b6f7532146499 (patch)
tree781212bcd97538ae4d0ec34a8ebd8a4023d8ec01
parent5c3ab5ce8967a2c697b4fd1603573fb6f4267e29 (diff)
downloadkronika-768315a5ec27b4ab681a57eb126b6f7532146499.tar.gz
kronika-768315a5ec27b4ab681a57eb126b6f7532146499.zip
Add html.raw to config
-rw-r--r--static/admin/config.yml17
1 files changed, 17 insertions, 0 deletions
diff --git a/static/admin/config.yml b/static/admin/config.yml
index 6abbadb..75172d4 100644
--- a/static/admin/config.yml
+++ b/static/admin/config.yml
@@ -37,6 +37,7 @@ collections:
         name: body
         widget: markdown
         required: true
+
   - name: "pages"
     label: "Strony"
     files:
@@ -55,3 +56,19 @@ collections:
           - label: "Treść"
             name: "body"
             widget: "markdown"
+
+      - label: "Kronika"
+        name: "chronicle"
+        file: "wpisy/kronika.html.raw"
+        fields:
+          - label: "Treść"
+            name: "body"
+            widget: "markdown"
+
+      - label: "Główna strona"
+        name: "index"
+        file: "wpisy/index.html.raw"
+        fields:
+          - label: "Treść"
+            name: "body"
+            widget: "markdown"