diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2021-03-16 18:23:03 +0100 |
---|---|---|
committer | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2021-03-16 18:23:03 +0100 |
commit | 91f4c0ec082582755637da9d4741001205e9a01a (patch) | |
tree | b9a328dd6c6bdbfb2eb9179e697f3d0d9280dfab /static | |
parent | 084341e5b7d3b31ac7f2611118d7ecc03ef0d661 (diff) | |
download | kronika-91f4c0ec082582755637da9d4741001205e9a01a.tar.gz kronika-91f4c0ec082582755637da9d4741001205e9a01a.zip |
Update netlify cms config
Diffstat (limited to 'static')
-rw-r--r-- | static/admin/config.yml | 24 |
1 files changed, 21 insertions, 3 deletions
diff --git a/static/admin/config.yml b/static/admin/config.yml index 7edd6cd..b472cc3 100644 --- a/static/admin/config.yml +++ b/static/admin/config.yml @@ -2,12 +2,12 @@ backend: name: git-gateway publish_mode: editorial_workflow -display_url: https://puszcza.netlify.app -site_url: https://puszcza.netlify.app +site_url: https://nojs--api-puszcza.netlify.app logo_url: /19pdh.png locale: 'pl' -media_folder: 'static/s' +media_folder: 'wpisy/assets' +public_folder: '/assets' collections: - name: posts @@ -36,3 +36,21 @@ collections: name: body widget: markdown required: true + - name: "pages" + label: "Strony" + files: + - label: "Do pobrania" + name: "download" + file: "wpisy/do-pobrania.md" + fields: + - label: "Treść" + name: "body" + widget: "markdown" + + - label: "Kontakt" + name: "contact" + files: "wpisy/kontakt.md" + fields: + - label: "Treść" + name: "body" + widget: "markdown" |