From 183106a7188ca0b8bfa056f50490d3ca1e703f7d Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Sun, 27 Oct 2019 20:53:23 -0400 Subject: Finally got posts working --- admin/config.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'admin') 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 -- cgit v1.2.3