diff options
| author | Catalina Vallejos <kintrala@me.com> | 2017-08-23 19:57:53 +0100 |
|---|---|---|
| committer | Catalina Vallejos <kintrala@me.com> | 2017-08-23 19:57:53 +0100 |
| commit | 0e494854248bb5b76839fa9c73b07f5e864248a4 (patch) | |
| tree | 86e290cfcc6c721ce819a3750a4a64895b8557bd /index.js | |
| parent | d4efcefac91f6e596625fbe9d0049985a4e09789 (diff) | |
| parent | eddee7c150388106979c16221b3ee106e53b1990 (diff) | |
commit with merge conflict
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: { |
