summaryrefslogtreecommitdiff
path: root/index.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2017-06-03 16:49:19 -0400
committerJules Laplace <julescarbon@gmail.com>2017-06-03 16:49:19 -0400
commit1a1f4a443afdfc5cd845ce62b88e6c79585bdf3a (patch)
treea6c8278e6538ceaf12fbc408314ed125f6ed2b85 /index.js
parent2bbf2d04c60c834459e3e9ce8f3204b3f6c76557 (diff)
essays
Diffstat (limited to 'index.js')
-rw-r--r--index.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/index.js b/index.js
index 71e8acd..9461c35 100644
--- a/index.js
+++ b/index.js
@@ -62,6 +62,13 @@ var app = okcms.createApp({
body: {type: 'text'},
disabled: {type: 'flag'},
},
+ essay: {
+ id: {type: 'string', hidden: true},
+ title: {type: 'string'},
+ byline: {type: 'string'},
+ body: {type: 'text'},
+ disabled: {type: 'flag'},
+ },
stream: {
id: {type: 'string', hidden: true},
title: {type: 'string'},
@@ -74,6 +81,7 @@ var app = okcms.createApp({
resources: [
{ type: 'timeline' },
{ type: 'page' },
+ { type: 'essay' },
{ type: 'stream' },
{ type: 'drone' },
{ type: 'about' },