summaryrefslogtreecommitdiff
path: root/examples/index.js
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2016-03-28 13:59:50 -0400
committerJules Laplace <jules@okfoc.us>2016-03-28 13:59:50 -0400
commit8898bbe48285c7f9f11760ef420cca43d683d5e0 (patch)
tree00a2e6c49ddd6894c60e893bfd8426363a3d4a05 /examples/index.js
parent57026202f9ac0b98cc744734a04bcee362b789a3 (diff)
modify links field to specify text and uri
Diffstat (limited to 'examples/index.js')
-rw-r--r--examples/index.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/index.js b/examples/index.js
index 3e9f509..bf51dfc 100644
--- a/examples/index.js
+++ b/examples/index.js
@@ -10,7 +10,8 @@ var app = okcms.createApp({
page: {
id: {type: 'string'},
title: {type: 'string'},
- body: {type: 'text'}
+ body: {type: 'text'},
+ links: {type: 'link-list'},
},
bread: {
type: {type: 'string', id: true},
@@ -19,7 +20,7 @@ var app = okcms.createApp({
color: {type: 'enum', options: ["red","blue","green"]},
video: {type: 'video'},
images: {type: 'captioned-image-list'}
- }
+ },
},
resources: [