diff options
| author | Andrew Lee <alee14498@gmail.com> | 2019-10-27 20:53:23 -0400 |
|---|---|---|
| committer | Andrew Lee <alee14498@gmail.com> | 2019-10-27 20:53:23 -0400 |
| commit | 183106a7188ca0b8bfa056f50490d3ca1e703f7d (patch) | |
| tree | 6d00c6a91364f314923ba0a280ad287b7a2f3281 /admin | |
| parent | 92a7575e2aee68c98ddbbdc442004b1bf2ef7982 (diff) | |
| download | pokeworld-website-183106a7188ca0b8bfa056f50490d3ca1e703f7d.tar.gz pokeworld-website-183106a7188ca0b8bfa056f50490d3ca1e703f7d.tar.bz2 pokeworld-website-183106a7188ca0b8bfa056f50490d3ca1e703f7d.zip | |
Finally got posts working
Diffstat (limited to 'admin')
| -rw-r--r-- | admin/config.yml | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/admin/config.yml b/admin/config.yml index fb4b020..4590a9e 100644 --- a/admin/config.yml +++ b/admin/config.yml @@ -1,7 +1,7 @@ # config.yml backend: - name: git-gateway + name: github repo: UniverseDevGroup/pokeworld-website branch: master # Branch to update (optional; defaults to master) media_folder: 'assets/uploads' @@ -9,5 +9,10 @@ collections: - name: 'blog' label: 'Blog' folder: '_posts/' + create: true + slug: '{{year}}-{{month}}-{{day}}-{{slug}}' + editor: + preview: false fields: - - { name: Title }
\ No newline at end of file + - { label: 'Title', name: 'title', widget: 'string' } + - { label: 'Body', name: 'body', widget: 'markdown' }
\ No newline at end of file |
