diff options
Diffstat (limited to 'index.js')
| -rw-r--r-- | index.js | 23 |
1 files changed, 10 insertions, 13 deletions
@@ -8,7 +8,8 @@ var app = okcms.createApp({ project: 'Animism' }, - debug: false, + debug: true, + production: false, schemas: { episodes: { @@ -37,17 +38,6 @@ var app = okcms.createApp({ typeMeta: {type: 'string'}, image: {type: 'image'}, }, - // archive: { - // id: {type: 'string', hidden: true}, - // title: {type: 'string'}, - // images: {type: 'triple-captioned-image-list'}, - // }, - // store: { - // id: {type: 'string', hidden: true}, - // title: {type: 'string'}, - // collection: {type: 'string'}, - // ClosedStoreImages: {type: 'captioned-image-list'}, - // }, }, resources: [ @@ -57,7 +47,14 @@ var app = okcms.createApp({ ], views: { - '/': {}, + '/': { + data: [ + {type: 'episodes', query: 'a-report-on-migrating-souls-in-museums-and-moving-pictures', as: 'episode'}, + {type: 'episodes', query: '*'}, + {type: 'sections', query: '*'}, + {type: 'works', query: '*'} + ] + }, }, services: { |
