diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2020-06-23 18:58:09 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2020-06-23 18:58:09 +0200 |
| commit | 59ada27edf36463d252de9fdbee41edd7f0f0ada (patch) | |
| tree | c7fd28acb486366be8985805480c10bf8454ef29 /index.js | |
| parent | 392a65a4f3a1422c0164d69cb2bb4d1123c1bbeb (diff) | |
updating template
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: { |
