diff options
| author | Andrew Lee <alee14498@protonmail.com> | 2020-04-29 10:57:21 -0400 |
|---|---|---|
| committer | Andrew Lee <alee14498@protonmail.com> | 2020-04-29 10:57:21 -0400 |
| commit | 37522c3ce749f6582c47e892c935297220e926dc (patch) | |
| tree | d3e509449cd95fd99ad60ec08c1614f1a8145327 /static/admin/config.yml | |
| parent | 893f5e94ce199d4ad2a976805b06d0e95fa45888 (diff) | |
| download | personal-website-37522c3ce749f6582c47e892c935297220e926dc.tar.gz personal-website-37522c3ce749f6582c47e892c935297220e926dc.tar.bz2 personal-website-37522c3ce749f6582c47e892c935297220e926dc.zip | |
Dark theme, migrated blog posts and Netlify stuff
Diffstat (limited to 'static/admin/config.yml')
| -rw-r--r-- | static/admin/config.yml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/static/admin/config.yml b/static/admin/config.yml new file mode 100644 index 0000000..97288f2 --- /dev/null +++ b/static/admin/config.yml @@ -0,0 +1,21 @@ +backend: + name: git-gateway + branch: master # Branch to update (optional; defaults to master) + + media_folder: assets/img/ + public_folder: /img + + collections: + - name: 'blog' + label: 'Blog' + format: 'md' + folder: 'assets/content/blog' + create: true + slug: '{{year}}-{{month}}-{{day}}-{{slug}}' + editor: + preview: false + fields: + - { label: 'Title', name: 'title', widget: 'string' } + - { label: 'Publish Date', name: 'date', widget: 'datetime' } + - { label: 'Description', name: 'description', widget: 'string' } + - { label: 'Body', name: 'body', widget: 'markdown' }
\ No newline at end of file |
