From 7f65ee019a6f4dbab968b706d8c93f31d7fc364c Mon Sep 17 00:00:00 2001 From: stone Date: Wed, 18 Nov 2015 21:34:57 -0500 Subject: add tag field to pages --- index.js | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'index.js') diff --git a/index.js b/index.js index 147dd92f..e38a38c8 100644 --- a/index.js +++ b/index.js @@ -30,12 +30,20 @@ var app = okcms.createApp({ link: {type: 'string'}, image: {type: 'captioned-image-list'}, }, + page: { + id: {type: 'string', hidden: true}, + title: {type: 'string'}, + image: {type: 'image'}, + body: {type: 'text'}, + tag: {type: 'string'}, + }, }, resources: [ { type: 'story' }, { type: 'archive' }, { type: 'hub' }, + { type: 'page' }, ], views: { -- cgit v1.2.3-70-g09d2