diff options
author | cel <cel@lOUVT+Phkvai9a/cCS/RKo+S9hnPAQdVixms/7ldpPA=.ed25519> | 2021-01-16 17:37:03 -0500 |
---|---|---|
committer | cel <cel@lOUVT+Phkvai9a/cCS/RKo+S9hnPAQdVixms/7ldpPA=.ed25519> | 2021-01-16 17:37:03 -0500 |
commit | 283e57119d86f442bc6184ae26303b9cd1b9e0e8 (patch) | |
tree | 3f87c92aba501052fe861571b9fd010b11a28149 | |
parent | 44ee859ad60c38deae338671f4fc1b3f3d665ec9 (diff) | |
download | patchfoo-283e57119d86f442bc6184ae26303b9cd1b9e0e8.tar.gz patchfoo-283e57119d86f442bc6184ae26303b9cd1b9e0e8.zip |
Render post titles
%QzXfFomGeBhkM5cUB+YdPgl8AHceAXjmVr9omM30UuQ=.sha256
-rw-r--r-- | lib/render-msg.js | 1 |
1 files changed, 1 insertions, 0 deletions
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) }) |