diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2021-03-14 22:42:14 +0100 |
---|---|---|
committer | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2021-03-14 22:42:14 +0100 |
commit | 7397d34a9eeb389a5b1732a160f24d5ab0e4b3de (patch) | |
tree | 46595510dad09ed179618ad22bae2030199637cf /static | |
parent | 766f1df52abc068c5bfd10d347883e19af8342f1 (diff) | |
download | kronika-7397d34a9eeb389a5b1732a160f24d5ab0e4b3de.tar.gz kronika-7397d34a9eeb389a5b1732a160f24d5ab0e4b3de.zip |
Add static folder
Diffstat (limited to 'static')
-rw-r--r-- | static/admin/config.yml | 25 |
1 files changed, 4 insertions, 21 deletions
diff --git a/static/admin/config.yml b/static/admin/config.yml index 45ec8d8..7edd6cd 100644 --- a/static/admin/config.yml +++ b/static/admin/config.yml @@ -2,8 +2,8 @@ backend: name: git-gateway publish_mode: editorial_workflow -display_url: https://puszcza.netlify.com -site_url: https://puszcza.netlify.com +display_url: https://puszcza.netlify.app +site_url: https://puszcza.netlify.app logo_url: /19pdh.png locale: 'pl' @@ -15,40 +15,23 @@ collections: label_singular: 'wpis' folder: 'wpisy' slug: '{{title}}' - path: '{{year}}/{{month}}/{{day}}/{{slug}}' + path: 'kronika/{{year}}/{{month}}/{{day}}/{{slug}}' preview_path: 'kronika/{{year}}/{{month}}/{{day}}/{{title}}' preview_path_date_field: 'date' create: true editor: - preview: false + preview: true fields: - label: 'Tytuł' name: title widget: string required: true - - label: 'Autor' - name: author - widget: string - required: true - - - label: 'Data' - name: date - widget: datetime - dateFormat: DD.MM.YYYY - timeFormat: false - required: true - - label: 'Kategorie/Tagi' name: category widget: list required: false - - label: 'Zdjęcie okładki - link' - name: image - widget: string - required: false - - label: 'Wpis' name: body widget: markdown |