summaryrefslogtreecommitdiff
path: root/views/index.jade
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2012-06-30 15:39:02 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2012-06-30 17:18:50 +0200
commitaab2a2e598a435092c95f1ba26ff35866ebdcdfc (patch)
tree803e7639fd105c66444d59fb6a774c58e6ff1f21 /views/index.jade
parent4af799c68089d2a56f69fc67c4c0cd9c82d176b8 (diff)
downloadcollection-json-explorer-aab2a2e598a435092c95f1ba26ff35866ebdcdfc.tar.gz
collection-json-explorer-aab2a2e598a435092c95f1ba26ff35866ebdcdfc.tar.bz2
collection-json-explorer-aab2a2e598a435092c95f1ba26ff35866ebdcdfc.tar.xz
collection-json-explorer-aab2a2e598a435092c95f1ba26ff35866ebdcdfc.zip
o Adding basic Twitter Bootstrap + jQuery frame.
Diffstat (limited to 'views/index.jade')
-rw-r--r--views/index.jade10
1 files changed, 5 insertions, 5 deletions
diff --git a/views/index.jade b/views/index.jade
index cd12e4a..0c1c5bb 100644
--- a/views/index.jade
+++ b/views/index.jade
@@ -1,7 +1,7 @@
extends layout
block content
- h1 Collection+JSON Explorer
+ h1= title
div This is a simple/dumb explorer for the
a(href='http://amundsen.com/media-types/collection/') Collection+JSON Hypermedia
@@ -18,9 +18,9 @@ block content
p Taken from:
a(href='http://amundsen.com/media-types/collection/examples/') Mike Amundsen's examples
- ul
- var examples = examples || []
- each example in examples
- li
+ ul
+ each example in examples
- var u='http://' + host + '/render?url=' + encodeURIComponent('http://' + host + '/examples/from-spec/' + example + '.collection+json')
- a(href='#{u}') #{example}
+ li
+ a(href='#{u}') #{example}