forked from microsoft/TypeScriptSamples
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathboard.jade
More file actions
26 lines (25 loc) · 804 Bytes
/
board.jade
File metadata and controls
26 lines (25 loc) · 804 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
extends layout
block mainContent
h1 #{board.title} by
a(href= "/user/"+username)!= username
div.board
h4.description= board.description
#board.images
- each image in images
div.image.grid_3
div.imagebox
div
a(href= "/image/"+image._id.toString())
img.small(src= image.imageUri)
=image.caption
div.primarysource
a(href= image.link)!= /http:\/\/([^\/]*)\//.exec(image.link)[1]
div.commentbox
- each comment in image.comments
div.comment
a(href= "/user/"+comment.user)
b= comment.user
#{comment.text}
.grid_12
br
a(href= "/user/"+username+"/"+board.title+"/newpin") Add a new pin...