summaryrefslogtreecommitdiff
path: root/index.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2020-06-23 18:58:09 +0200
committerJules Laplace <julescarbon@gmail.com>2020-06-23 18:58:09 +0200
commit59ada27edf36463d252de9fdbee41edd7f0f0ada (patch)
treec7fd28acb486366be8985805480c10bf8454ef29 /index.js
parent392a65a4f3a1422c0164d69cb2bb4d1123c1bbeb (diff)
updating template
Diffstat (limited to 'index.js')
-rw-r--r--index.js23
1 files changed, 10 insertions, 13 deletions
diff --git a/index.js b/index.js
index 6d15c6e..e76d663 100644
--- a/index.js
+++ b/index.js
@@ -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: {