From 283e57119d86f442bc6184ae26303b9cd1b9e0e8 Mon Sep 17 00:00:00 2001 From: cel Date: Sat, 16 Jan 2021 17:37:03 -0500 Subject: Render post titles %QzXfFomGeBhkM5cUB+YdPgl8AHceAXjmVr9omM30UuQ=.sha256 --- lib/render-msg.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/render-msg.js b/lib/render-msg.js index 3957694..e5846ac 100644 --- a/lib/render-msg.js +++ b/lib/render-msg.js @@ -479,6 +479,7 @@ RenderMsg.prototype.post = function (cb) { self.c.tags ? h('div', h('small', 'tags: ', u.toArray(self.c.tags).map(function (tag, i) { return [i > 0 ? ', ' : '', h('code', tag)] }))) : '', + self.c.title ? h('h4', u.toString(self.c.title)) : '', h('div.ssb-post-text', {innerHTML: self.markdown()}) ), cb) }) -- cgit v1.2.3