summaryrefslogtreecommitdiff
path: root/new-reality/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'new-reality/index.js')
-rw-r--r--new-reality/index.js42
1 files changed, 0 insertions, 42 deletions
diff --git a/new-reality/index.js b/new-reality/index.js
index 666dc50..3e7cb76 100644
--- a/new-reality/index.js
+++ b/new-reality/index.js
@@ -6,10 +6,6 @@ var viewConfig = {
template: 'index',
data: [
{type: 'home', query: '*'},
- {type: 'press', query: '*'},
- {type: 'bio', query: '*'},
- {type: 'festival', query: '*'},
- {type: 'lecture', query: '*'},
]
}
@@ -26,53 +22,15 @@ var app = okcms.createApp({
title: {type: 'string'},
about: {type: 'string'},
},
- press: {
- id: {type: 'string', hidden: true},
- title: {type: 'string'},
- source: {type: 'string'},
- link: {type: 'string'},
- body: {type: 'text'},
- image: {type: 'image'},
- },
- bio: {
- id: {type: 'string', hidden: true},
- title: {type: 'string'},
- body: {type: 'text'},
- image: {type: 'image'},
- link: {type: 'string'},
- type: {type: 'enum', options: ['featured','cast','production'],
- },
- festival: {
- id: {type: 'string', hidden: true},
- title: {type: 'string'},
- link: {type: 'string'},
- date: {type: 'text'},
- image: {type: 'image'},
- },
- lecture: {
- id: {type: 'string', hidden: true},
- title: {type: 'string'},
- link: {type: 'string'},
- date: {type: 'text'},
- image: {type: 'image'},
- },
},
resources: [
{ type: 'home' },
- { type: 'press' },
- { type: 'bio' },
- { type: 'festival' },
- { type: 'lecture' },
],
views: {
'/': viewConfig,
'/home': viewConfig,
- '/press': viewConfig,
- '/team': viewConfig,
- '/festivals': viewConfig,
- '/lectures': viewConfig,
},
services: {