aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorStephen Whitmore <sww@eight45.net>2017-04-12 21:38:58 -0700
committerStephen Whitmore <sww@eight45.net>2017-04-12 21:38:58 -0700
commitc7345ec6d7608a2a4f00796cf01341b6db5d5a27 (patch)
treee9229fe6e22f2c2ded221f82b8e71c6702d286a4 /lib
parent7cbc5c587105a7add08d250458303c47bcd0e57a (diff)
downloadpatchfoo-c7345ec6d7608a2a4f00796cf01341b6db5d5a27.tar.gz
patchfoo-c7345ec6d7608a2a4f00796cf01341b6db5d5a27.zip
Add hermie favicon.
Diffstat (limited to 'lib')
-rw-r--r--lib/util.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util.js b/lib/util.js
index d0ab97a..0a6356c 100644
--- a/lib/util.js
+++ b/lib/util.js
@@ -38,7 +38,7 @@ u.toHTML = function (el) {
return h('div', el).innerHTML
}
var html = el.outerHTML || String(el)
- if (el.nodeName === 'html') html = '<!doctype html>' + html + '\n'
+ if (el.nodeName === 'html') html = '<!doctype html><link rel="icon" href="static/hermie.ico" type="image/x-icon"/>' + html + '\n'
return html
}