From 55bba9f4aab51fb05ebeb01987924e1f97226210 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Tue, 14 Apr 2015 15:37:19 -0400 Subject: store shape images in CMS --- site/index.js | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'site/index.js') 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: '*'}, -- cgit v1.2.3-70-g09d2