diff options
Diffstat (limited to 'views')
-rw-r--r-- | views/data.jade | 8 | ||||
-rw-r--r-- | views/index.jade | 3 | ||||
-rw-r--r-- | views/layout.jade | 4 |
3 files changed, 8 insertions, 7 deletions
diff --git a/views/data.jade b/views/data.jade index 3051d63..cb181f3 100644 --- a/views/data.jade +++ b/views/data.jade @@ -1,8 +1,8 @@ extends layout block content - h1= title - p Welcome to #{title} + h1 Collection+JSON Explorer + p Viewing #{url} form(action="/render") p @@ -24,7 +24,9 @@ block content h1 a(href="#items") Items each item, i in doc.items - h2 Item ##{i+1} + a(id="item-#{i+1}") + h2 + a(href="#item-#{i+1}") Item ##{i+1} h3 Data ul each data in item.data diff --git a/views/index.jade b/views/index.jade index 55ed3d4..af774d4 100644 --- a/views/index.jade +++ b/views/index.jade @@ -1,8 +1,7 @@ extends layout block content - h1= title - p Welcome to #{title} + h1 Collection+JSON Explorer form(action="/render") p diff --git a/views/layout.jade b/views/layout.jade index 1b7b305..8fe7f51 100644 --- a/views/layout.jade +++ b/views/layout.jade @@ -1,7 +1,7 @@ doctype 5 html head - title= title + title Collection+JSON Explorer link(rel='stylesheet', href='/stylesheets/style.css') body - block content
\ No newline at end of file + block content |