aboutsummaryrefslogtreecommitdiff
path: root/lib/serve.js
diff options
context:
space:
mode:
authorcel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2017-08-06 16:24:16 -1000
committercel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2017-08-15 13:03:27 -1000
commit3572fc31a1187fcc46a1a4276b94deb17ea05d9e (patch)
treedad99c843543da0396ffab704232639689af372e /lib/serve.js
parent019e623c21d380e10ac78cd88514480b92ff7be3 (diff)
downloadpatchfoo-3572fc31a1187fcc46a1a4276b94deb17ea05d9e.tar.gz
patchfoo-3572fc31a1187fcc46a1a4276b94deb17ea05d9e.zip
Fix images on About pages
Diffstat (limited to 'lib/serve.js')
-rw-r--r--lib/serve.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/serve.js b/lib/serve.js
index 5f4abff..c4c740c 100644
--- a/lib/serve.js
+++ b/lib/serve.js
@@ -826,7 +826,7 @@ Serve.prototype.about = function (path) {
function renderAboutOpContent(op) {
if (op.prop === 'image')
- return renderAboutOpImage(op.value)
+ return renderAboutOpImage(u.toLink(op.value))
if (op.prop === 'description')
return h('div', {innerHTML: render.markdown(op.value)}).outerHTML
if (op.prop === 'title')