feat(core): allow custom summary on entry cards (#2140)

This commit is contained in:
Austin Devine
2019-03-29 18:30:38 +00:00
committed by Shawn Erquhart
parent 228271194b
commit 573ad8816d
7 changed files with 146 additions and 83 deletions

View File

@ -15,6 +15,7 @@ collections: # A list of collections the CMS should be able to edit
guidelines that are specific to a collection.
folder: '_posts'
slug: '{{year}}-{{month}}-{{day}}-{{slug}}'
summary: '{{title}} -- {{year}}/{{month}}/{{day}}'
create: true # Allow users to create new documents in this collection
fields: # The fields each document in this collection have
- { label: 'Title', name: 'title', widget: 'string', tagname: 'h1' }