Add favicon

This commit is contained in:
Gregory Soutade 2022-06-23 21:08:38 +02:00
parent 5130b1f6d8
commit 4e7b2d34d1
2 changed files with 1 additions and 0 deletions

View File

@ -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

Binary file not shown.

After

Width:  |  Height:  |  Size: 771 B