diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2017-08-23 16:06:50 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2017-08-23 16:06:50 +0200 |
| commit | eddee7c150388106979c16221b3ee106e53b1990 (patch) | |
| tree | d63a4a5e676c39c222a9bd100b5fa803e60c3738 /index.js | |
| parent | 2b1fe8184068141677c2141eaea1b3dde7447dbf (diff) | |
testimonials carousel
Diffstat (limited to 'index.js')
| -rw-r--r-- | index.js | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -8,6 +8,7 @@ var viewConfig = { data: [ {type: 'entry', query: '*'}, {type: 'page', query: '*'}, + {type: 'testimonial', query: '*'}, ] } @@ -45,11 +46,19 @@ var app = okcms.createApp({ body: {type: 'text'}, disabled: {type: 'flag'}, }, + testimonial: { + id: {type: 'string', hidden: true}, + title: {type: 'string'}, + body: {type: 'text'}, + byline: {type: 'string'}, + disabled: {type: 'flag'}, + }, }, resources: [ { type: 'entry' }, { type: 'page' }, + { type: 'testimonial' }, ], views: { |
