summaryrefslogtreecommitdiff
path: root/site/index.js
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2015-04-13 18:19:41 -0400
committerJules Laplace <jules@okfoc.us>2015-04-13 18:19:41 -0400
commitd45f617dc74a07beb352d04537d47a77193f487f (patch)
treebf87a7f2b1bba238588194b0b29c26e6bd6b9f24 /site/index.js
parent3ac36830841a51f3d3de63f5df849a4bb84b948d (diff)
hide id field
Diffstat (limited to 'site/index.js')
-rw-r--r--site/index.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/site/index.js b/site/index.js
index 8eec697..d4f5cb4 100644
--- a/site/index.js
+++ b/site/index.js
@@ -1,7 +1,7 @@
var okcms = require('..');
var projectSchema = {
- id: {type: 'string', id: true},
+ id: {type: 'string', id: true, hidden: true},
title: {type: 'string'},
shortname: {type: 'string'},
description: {type: 'text'},
@@ -15,7 +15,7 @@ var app = okcms.createApp({
schemas: {
page: {
- id: {type: 'string'},
+ id: {type: 'string', hidden: true},
title: {type: 'string'},
body: {type: 'text'},
image: {type: 'string'}