layouts/index.jadeView |
---|
1 | 1 … | extends layout |
2 | 2 … | |
3 | 3 … | block content |
| 4 … | + if pinned |
| 5 … | + div.message |
| 6 … | + p.small.ri: strong pinned #{pinned.value.content.type} |
| 7 … | + img(src='#{bloburl}#{image}' class='avatar') |
| 8 … | + p <a href='#{encodeURIComponent(pinned.value.author)}' target='_parent'>@#{name}</a> |
| 9 … | + != markdown(pinned.value.content.text) |
| 10 … | + span.date #{moment(pinned.value.timestamp).fromNow()} |
| 11 … | + if (pinned.value.content.channel) |
| 12 … | + span in ##{pinned.value.content.channel} |
4 | 13 … | div.message |
5 | | - p.small.ri: strong pinned #{pinned.value.content.type} |
6 | | - img(src='#{bloburl}#{image}' class='avatar') |
7 | | - p <a href='#{encodeURIComponent(pinned.value.author)}' target='_parent'>@#{name}</a> |
8 | | - != markdown(pinned.value.content.text) |
9 | | - span.date #{moment(pinned.value.timestamp).fromNow()} |
10 | | - if (pinned.value.content.channel) |
11 | | - span in ##{pinned.value.content.channel} |
| 14 … | + if post |
| 15 … | + p.small.ri: strong #{post.value.content.type} |
| 16 … | + img(src='#{bloburl}#{image}' class='avatar') |
| 17 … | + p <a href='#{encodeURIComponent(post.value.author)}' target='_parent'>@#{name}</a> |
| 18 … | + != markdown(post.value.content.text) |
| 19 … | + span.date #{moment(post.value.timestamp).fromNow()} |
12 | 20 … | div.message |
13 | | - p.small.ri: strong #{post.value.content.type} |
14 | | - img(src='#{bloburl}#{image}' class='avatar') |
15 | | - p <a href='#{encodeURIComponent(post.value.author)}' target='_parent'>@#{name}</a> |
16 | | - != markdown(post.value.content.text) |
17 | | - span.date #{moment(post.value.timestamp).fromNow()} |
| 21 … | + if vote |
| 22 … | + p.small.ri: strong #{vote.value.content.type} |
| 23 … | + img(src='#{bloburl}#{image}' class='avatar') |
| 24 … | + p <a href='#{encodeURIComponent(vote.value.author)}' target='_parent'>@#{name}</a> dug #{vote.value.content.vote.link} |
| 25 … | + span.date #{moment(vote.value.timestamp).fromNow()} |
| 26 … | + if redo.value.type === post |
| 27 … | + div.message |
| 28 … | + p.small.ri: strong #{redo.value.content.type} |
| 29 … | + img(src='#{bloburl}#{reauthor.image}' class='avatar') |
| 30 … | + p @<a href='#{encodeURIComponent(redo.value.author)}'>#{reauthor.name}</a> |
| 31 … | + != markdown(redo.value.content.text) |
| 32 … | + span.date #{moment(redo.value.timestamp).fromNow()} |
18 | 33 … | div.message |
19 | | - p.small.ri: strong #{vote.value.content.type} |
20 | | - img(src='#{bloburl}#{image}' class='avatar') |
21 | | - p <a href='#{encodeURIComponent(vote.value.author)}' target='_parent'>@#{name}</a> dug #{vote.value.content.vote.link} |
22 | | - span.date #{moment(vote.value.timestamp).fromNow()} |
23 | | - div.message |
24 | | - p.small.ri: strong #{redo.value.content.type} |
25 | | - img(src='#{bloburl}#{reauthor.image}' class='avatar') |
26 | | - p @<a href='#{encodeURIComponent(redo.value.author)}'>#{reauthor.name}</a> |
27 | | - != markdown(redo.value.content.text) |
28 | | - span.date #{moment(redo.value.timestamp).fromNow()} |
29 | | - div.message |
30 | | - p.small.ri: strong #{gits.value.content.type} |
31 | | - img(src='#{bloburl}#{image}' class='avatar') |
32 | | - p <a href='#{encodeURIComponent(gits.value.author)}' target='_parent'>@#{name}</a> pushed a git commit to #{gits.value.content.repo}<br /> |
33 | | - span.date #{moment(gits.value.timestamp).fromNow()} |
| 34 … | + if gits |
| 35 … | + p.small.ri: strong #{gits.value.content.type} |
| 36 … | + img(src='#{bloburl}#{image}' class='avatar') |
| 37 … | + p <a href='#{encodeURIComponent(gits.value.author)}' target='_parent'>@#{name}</a> pushed a git commit to #{gits.value.content.repo}<br /> |
| 38 … | + span.date #{moment(gits.value.timestamp).fromNow()} |
34 | 39 … | hr |
35 | 40 … | p This is <a href='http://gitmx.com/%25qrU04j9vfUJKfq1rGZrQ5ihtSfA4ilfY3wLy7xFv0xk%3D.sha256/'>sdash</a> |