diff options
| author | Jules Laplace <jules@okfoc.us> | 2017-05-18 22:38:56 +0200 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2017-05-18 22:38:56 +0200 |
| commit | 6d61b0c1f182bfb573a4e63733d4069932f69c40 (patch) | |
| tree | 1f277a577d53a7d4758126ea8cb8977208d06cc7 /index.js | |
| parent | 7d1a0f18e16443f78c2e5cfa6b547cb227423975 (diff) | |
tentative drone/intro fields
Diffstat (limited to 'index.js')
| -rw-r--r-- | index.js | 23 |
1 files changed, 23 insertions, 0 deletions
@@ -8,6 +8,8 @@ var viewConfig = { {type: 'timeline', query: '*'}, {type: 'page', query: '*'}, {type: 'stream', query: '*'}, + {type: 'drone', query: '*'}, + {type: 'about', query: '*'}, ] } @@ -46,6 +48,25 @@ var app = okcms.createApp({ links: {type: 'link-list'}, disabled: {type: 'flag'}, }, + drone: { + id: {type: 'string', hidden: true}, + title: {type: 'string'}, + intro: {type: 'text'}, + strikes: {type: 'string'}, + totalKilled: {type: 'string'}, + civiliansKilled: {type: 'string'}, + childrenKilled: {type: 'string'}, + links: {type: 'link-list'}, + }, + about: { + id: {type: 'string', hidden: true}, + title: {type: 'string'}, + show: {type: 'text'}, + herzogBio: {type: 'text'}, + deMeuronBio: {type: 'text'}, + aiWeiWeiBio: {type: 'text'}, + video: {type: 'video'}, + }, page: { id: {type: 'string', hidden: true}, title: {type: 'string'}, @@ -64,6 +85,8 @@ var app = okcms.createApp({ { type: 'timeline' }, { type: 'page' }, { type: 'stream' }, + { type: 'drone' }, + { type: 'about' }, ], views: { |
