From 6293830fe485918fdc152b923675f5d2ee56e068 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Fri, 29 Jun 2012 11:24:09 +0200 Subject: o Prettier example links. --- views/index.jade | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/views/index.jade b/views/index.jade index 86cfffa..caf2954 100644 --- a/views/index.jade +++ b/views/index.jade @@ -12,10 +12,11 @@ block content h2 Examples - p Taken from - a(url='http://amundsen.com/media-types/collection/examples/') Mike Admundsen's examples + p Taken from + a(href='http://amundsen.com/media-types/collection/examples/') Mike Admundsen's examples + ul each example in examples - form(action='/render') - input(name='url', type='hidden', value='http://#{host}/examples/from-spec/#{example}.collection+json') - input(type='submit', value='#{example}') + li + - var u='http://' + host + '/render?url=' + encodeURIComponent('http://' + host + '/examples/from-spec/' + example + '.collection+json') + a(href='#{u}') #{example} -- cgit v1.2.3