summaryrefslogtreecommitdiff
path: root/new-reality/index.js
diff options
context:
space:
mode:
authorokfprojz <jules+okfprojz@okfoc.us>2016-11-29 12:49:58 -0500
committerokfprojz <jules+okfprojz@okfoc.us>2016-11-29 12:49:58 -0500
commit3df75237494b66007822e7e7fca38f82b2083228 (patch)
tree7eadcdf7927b9a7f893ad0aef777540695e09d80 /new-reality/index.js
parentec41dd9dcc8e9af0d108297c6cfcfcef43d0d105 (diff)
nginx config files
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: {