diff options
| author | Jules Laplace <jules@okfoc.us> | 2015-04-14 15:37:19 -0400 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2015-04-14 15:37:27 -0400 |
| commit | 55bba9f4aab51fb05ebeb01987924e1f97226210 (patch) | |
| tree | 7581fcccdcf0c84df4bd90542976849995a96902 /site/index.js | |
| parent | fc7ba0f29f549820885fcb11e88c68256d3eacca (diff) | |
store shape images in CMS
Diffstat (limited to 'site/index.js')
| -rw-r--r-- | site/index.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/site/index.js b/site/index.js index b6dea48..7457bbf 100644 --- a/site/index.js +++ b/site/index.js @@ -24,11 +24,17 @@ var app = okcms.createApp({ advertising: projectSchema, experiential: projectSchema, content: projectSchema, + shape: { + id: {type: 'string', id: true, hidden: true}, + title: {type: 'string'}, + images: {type: 'captioned-image-list'}, + } }, resources: [ { type: 'page', static: {id: 'about'}}, { type: 'page', static: {id: 'contact'}}, + { type: 'shape', static: {id: 'shape-images'}}, { type: 'retail' }, { type: 'advertising' }, { type: 'experiential' }, @@ -47,6 +53,7 @@ var app = okcms.createApp({ '/': { data: [ {type: 'page', query: '*'}, + {type: 'shape', query: 'shape-images'}, {type: 'retail', query: '*'}, {type: 'advertising', query: '*'}, {type: 'experiential', query: '*'}, |
