CHANGE theme, ADD smartberg project description, CHANGE admin collection template
This commit is contained in:
parent
cea2a6c551
commit
6d00013039
38 changed files with 257 additions and 69 deletions
|
@ -8,14 +8,21 @@ backend:
|
|||
media_folder: assets/images
|
||||
public_folder: /images
|
||||
collections:
|
||||
- name: 'portfolio'
|
||||
label: 'Portfolio'
|
||||
folder: 'content/portfolio'
|
||||
- name: 'project'
|
||||
label: 'Project'
|
||||
folder: 'content/projects'
|
||||
create: true
|
||||
slug: '{{year}}-{{month}}-{{day}}-{{slug}}'
|
||||
slug: '{{slug}}'
|
||||
editor:
|
||||
preview: false
|
||||
fields:
|
||||
- { label: 'Title', name: 'title', widget: 'string' }
|
||||
- { label: 'Publish Date', name: 'date', widget: 'datetime' }
|
||||
- { label: 'Image', name: 'image', widget: 'object', fields:
|
||||
- { label: 'Image', name: 'url', widget: 'image' }
|
||||
- { label: 'Alt', name: 'alt', widget: 'string' }
|
||||
- { label: 'Caption', name: 'caption', widget: 'string' }
|
||||
}
|
||||
- { label: 'Overview', name: 'overview', widget: 'string' }
|
||||
- { label: 'Tags', name: 'tags', widget: 'list' }
|
||||
- { label: 'Date', name: 'date', widget: 'datetime' }
|
||||
- { label: 'Body', name: 'body', widget: 'markdown' }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue