diff --git a/assets/apple-touch-icon.png b/assets/apple-touch-icon.png new file mode 100644 index 0000000..24c8b4e Binary files /dev/null and b/assets/apple-touch-icon.png differ diff --git a/assets/favicon-16x16.ico b/assets/favicon-16x16.ico new file mode 100644 index 0000000..8dc64dc Binary files /dev/null and b/assets/favicon-16x16.ico differ diff --git a/assets/favicon.ico b/assets/favicon.ico index 5a8a3e6..1871d7a 100644 Binary files a/assets/favicon.ico and b/assets/favicon.ico differ diff --git a/assets/favicon.svg b/assets/favicon.svg new file mode 100644 index 0000000..2e336e5 --- /dev/null +++ b/assets/favicon.svg @@ -0,0 +1,34 @@ + + + + + + + + diff --git a/assets/templates/layout.html b/assets/templates/layout.html index e758525..306a0e0 100644 --- a/assets/templates/layout.html +++ b/assets/templates/layout.html @@ -8,7 +8,10 @@ {% endif %} - + + + + diff --git a/bin/main.ml b/bin/main.ml index d819aa0..ab1491a 100644 --- a/bin/main.ml +++ b/bin/main.ml @@ -2,7 +2,7 @@ open Yocaml let into = Path.rel [ "www" ] let assets = Path.rel [ "assets" ] -let copy_favicon = Action.copy_file ~into Path.(assets / "favicon.ico") +let copy_file_to_www f = Action.copy_file ~into Path.(assets / f) let create_css = let css = Path.(assets / "css") in @@ -104,7 +104,10 @@ let process () = let open Eff in let cache = Path.(into / ".cache") in Action.restore_cache cache - >>= copy_favicon + >>= copy_file_to_www "favicon.ico" + >>= copy_file_to_www "favicon-16x16.ico" + >>= copy_file_to_www "favicon.svg" + >>= copy_file_to_www "apple-touch-icon.png" >>= create_css >>= create_index >>= create_events