summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author“Ryder <“r@okfoc.us”>2016-03-28 13:20:28 -0400
committer“Ryder <“r@okfoc.us”>2016-03-28 13:20:28 -0400
commitcb0b2d229855d80f041b0c44984418ae3097b5b4 (patch)
tree3f133f8d2d3ed2ad89cc642e204ab13c6d9b55f2
parent05983e8091b99cef6d7baebe2b72ac3c19d41151 (diff)
adding iframe and video
-rw-r--r--db.json15
-rw-r--r--index.js2
2 files changed, 17 insertions, 0 deletions
diff --git a/db.json b/db.json
index b23375b..c615f2c 100644
--- a/db.json
+++ b/db.json
@@ -17,6 +17,21 @@
"__index": "0",
"dateCreated": "Sat, 26 Mar 2016 20:34:21 GMT",
"client": "Annapurna Pictures"
+ },
+ {
+ "id": "test-2",
+ "year": 2016,
+ "title": "Test 2",
+ "client": "Moopy",
+ "link": "http://moonpies.org",
+ "NatureOfWork": "poo, surf, eat popcorn",
+ "brief": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Sed posuere consectetur est at lobortis. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit.",
+ "image": {
+ "uri": "https://ltho.s3.amazonaws.com/e12aee73-07a1-41f4-a54f-8b8c09f167f9.png",
+ "caption": ""
+ },
+ "__index": 1,
+ "dateCreated": "Mon, 28 Mar 2016 17:19:36 GMT"
}
]
} \ No newline at end of file
diff --git a/index.js b/index.js
index 28b70b8..eb51e75 100644
--- a/index.js
+++ b/index.js
@@ -26,6 +26,8 @@ var app = okcms.createApp({
NatureOfWork: {type: 'tag-list'},
brief: {type: 'text'},
image: {type: 'image'},
+ iframe: {type: 'string'},
+ video: {type: 'string'},
press: {type: 'link-list'},
},
},