Add favicon
This commit is contained in:
parent
5130b1f6d8
commit
4e7b2d34d1
|
@ -360,6 +360,7 @@ class DisplayHTMLPage(object):
|
||||||
f.write(u'<html>')
|
f.write(u'<html>')
|
||||||
f.write(u'<head>')
|
f.write(u'<head>')
|
||||||
f.write(u'<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />')
|
f.write(u'<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />')
|
||||||
|
f.write(u'<link rel="icon" type="image/png" href="/resources/icon/favicon.png"/>')
|
||||||
for css in self.css_path:
|
for css in self.css_path:
|
||||||
f.write(u'<link rel="stylesheet" href="/%s"/>' % (css))
|
f.write(u'<link rel="stylesheet" href="/%s"/>' % (css))
|
||||||
if self.title:
|
if self.title:
|
||||||
|
|
BIN
resources/icon/favicon.png
Normal file
BIN
resources/icon/favicon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 771 B |
Loading…
Reference in New Issue
Block a user