diff --git a/scripts/build.py b/scripts/build.py
index d7bcdfa..e268529 100755
--- a/scripts/build.py
+++ b/scripts/build.py
@@ -105,6 +105,11 @@ def empty_dist() -> None:
raise Exception(f"{f} is not a file or directory.")
+def compile_favicons():
+ for f in Path("src/favicons").iterdir():
+ shutil.copyfile(f, Path("dist", f.name))
+
+
def compile_index(posts: PostIndex, commit: str):
with Path("src/index.jinja").open("r") as fp:
tpl = je.from_string(fp.read())
@@ -208,6 +213,7 @@ def main():
empty_dist()
shutil.copytree("src/assets", "dist/assets")
+ compile_favicons()
compile_index(posts, commit)
compile_posts(posts, commit)
compile_feed(posts)
diff --git a/src/favicons/android-chrome-192x192.png b/src/favicons/android-chrome-192x192.png
new file mode 100644
index 0000000..2eb40fe
Binary files /dev/null and b/src/favicons/android-chrome-192x192.png differ
diff --git a/src/favicons/android-chrome-512x512.png b/src/favicons/android-chrome-512x512.png
new file mode 100644
index 0000000..3589d83
Binary files /dev/null and b/src/favicons/android-chrome-512x512.png differ
diff --git a/src/favicons/apple-touch-icon.png b/src/favicons/apple-touch-icon.png
new file mode 100644
index 0000000..85acb9d
Binary files /dev/null and b/src/favicons/apple-touch-icon.png differ
diff --git a/src/favicons/favicon-16x16.png b/src/favicons/favicon-16x16.png
new file mode 100644
index 0000000..e83a9d9
Binary files /dev/null and b/src/favicons/favicon-16x16.png differ
diff --git a/src/favicons/favicon-32x32.png b/src/favicons/favicon-32x32.png
new file mode 100644
index 0000000..5e37e85
Binary files /dev/null and b/src/favicons/favicon-32x32.png differ
diff --git a/src/favicons/favicon.ico b/src/favicons/favicon.ico
new file mode 100644
index 0000000..a07eb34
Binary files /dev/null and b/src/favicons/favicon.ico differ
diff --git a/src/favicons/site.webmanifest b/src/favicons/site.webmanifest
new file mode 100644
index 0000000..b20abb7
--- /dev/null
+++ b/src/favicons/site.webmanifest
@@ -0,0 +1,19 @@
+{
+ "name": "",
+ "short_name": "",
+ "icons": [
+ {
+ "src": "/android-chrome-192x192.png",
+ "sizes": "192x192",
+ "type": "image/png"
+ },
+ {
+ "src": "/android-chrome-512x512.png",
+ "sizes": "512x512",
+ "type": "image/png"
+ }
+ ],
+ "theme_color": "#ffffff",
+ "background_color": "#ffffff",
+ "display": "standalone"
+}
diff --git a/src/head.jinja b/src/head.jinja
index eb1c07e..fac9c80 100644
--- a/src/head.jinja
+++ b/src/head.jinja
@@ -3,3 +3,7 @@
+
+
+
+