diff --git a/codeview/layout.py b/codeview/layout.py
index d80e9f1..535397a 100644
--- a/codeview/layout.py
+++ b/codeview/layout.py
@@ -71,6 +71,7 @@ def page(
''
f"
{html.escape(title)}"
f''
+ ''
f""
f''
f'{main}
'
diff --git a/codeview/style.py b/codeview/style.py
index 43a7efc..643358a 100644
--- a/codeview/style.py
+++ b/codeview/style.py
@@ -482,6 +482,15 @@
"""
+FAVICON = (
+ '\n'
+)
+
+
def write(target: Path, content: str) -> None:
target.parent.mkdir(parents=True, exist_ok=True)
target.write_text(content, encoding="utf-8")
@@ -494,4 +503,5 @@ def build_style(out_root: Path, extra_css: str = "") -> str:
digest = hashlib.sha256(css.encode()).hexdigest()[:10]
STYLE_HREF = f"/style.{digest}.css"
write(out_root / f"style.{digest}.css", css)
+ write(out_root / "favicon.svg", FAVICON)
return STYLE_HREF