summaryrefslogtreecommitdiff
path: root/site/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'site/index.js')
-rw-r--r--site/index.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/site/index.js b/site/index.js
index c7638fa..d36778f 100644
--- a/site/index.js
+++ b/site/index.js
@@ -3,6 +3,7 @@ var okcms = require('..');
var projectSchema = {
id: {type: 'string', id: true},
title: {type: 'string'},
+ shortname: {type: 'string'},
description: {type: 'text'},
video: {type: 'video'},
images: {type: 'captioned-image-list'}
@@ -16,7 +17,8 @@ var app = okcms.createApp({
page: {
id: {type: 'string'},
title: {type: 'string'},
- body: {type: 'text'}
+ body: {type: 'text'},
+ image: {type: 'string'}
},
retail: projectSchema,
advertising: projectSchema,