diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2021-03-16 23:08:06 +0100 |
---|---|---|
committer | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2021-03-16 23:08:06 +0100 |
commit | 768315a5ec27b4ab681a57eb126b6f7532146499 (patch) | |
tree | 781212bcd97538ae4d0ec34a8ebd8a4023d8ec01 | |
parent | 5c3ab5ce8967a2c697b4fd1603573fb6f4267e29 (diff) | |
download | kronika-768315a5ec27b4ab681a57eb126b6f7532146499.tar.gz kronika-768315a5ec27b4ab681a57eb126b6f7532146499.zip |
Add html.raw to config
-rw-r--r-- | static/admin/config.yml | 17 |
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" |