aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorcel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2019-09-03 14:50:21 -0700
committercel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2019-09-03 15:35:05 -0700
commit1be957cb6289bc5f90f9a6c5eef69384406db3b0 (patch)
tree38a009a694410f8913d5a4c56bc3689045133044 /lib
parentd3b4e9d9c4d7146f9d1867fc82ff95fb6b6e4309 (diff)
downloadpatchfoo-1be957cb6289bc5f90f9a6c5eef69384406db3b0.tar.gz
patchfoo-1be957cb6289bc5f90f9a6c5eef69384406db3b0.zip
Render secret-islands post coordinates and tags
Diffstat (limited to 'lib')
-rw-r--r--lib/render-msg.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/render-msg.js b/lib/render-msg.js
index e99a0a5..528553f 100644
--- a/lib/render-msg.js
+++ b/lib/render-msg.js
@@ -397,6 +397,10 @@ RenderMsg.prototype.post = function (cb) {
forkLinks.map(function (a, i) {
return h('div', h('small', h('span.symbol', '⑂'), ' ', a))
}),
+ self.c.x || self.c.y ? h('div', h('small', '[' + self.c.x + ', ' + self.c.y + ']')) : '',
+ self.c.tags ? h('div', h('small', 'tags: ', u.toArray(self.c.tags).map(function (tag) {
+ return [h('code', tag), ', ']
+ }))) : '',
h('div.ssb-post-text', {innerHTML: self.markdown()})
), cb)
})