about summary refs log tree commit diff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/rook_web/endpoint.ex2
-rw-r--r--lib/rook_web/templates/layout/app.html.eex6
2 files changed, 7 insertions, 1 deletions
diff --git a/lib/rook_web/endpoint.ex b/lib/rook_web/endpoint.ex
index 31c9790..d310435 100644
--- a/lib/rook_web/endpoint.ex
+++ b/lib/rook_web/endpoint.ex
@@ -22,7 +22,7 @@ defmodule RookWeb.Endpoint do
     at: "/",
     from: :rook,
     gzip: false,
-    only: ~w(css fonts images js favicon.ico robots.txt)
+    only: ~w(css fonts images js icon robots.txt)
 
   # Code reloading can be explicitly enabled under the
   # :code_reloader configuration of your endpoint.
diff --git a/lib/rook_web/templates/layout/app.html.eex b/lib/rook_web/templates/layout/app.html.eex
index e840b54..ba90dab 100644
--- a/lib/rook_web/templates/layout/app.html.eex
+++ b/lib/rook_web/templates/layout/app.html.eex
@@ -7,6 +7,12 @@
     <title>Rook</title>
     <link rel="preconnect" href="https://fonts.gstatic.com">
     <link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap" rel="stylesheet">
+
+    <link rel="apple-touch-icon" href="<%= Routes.static_path(@conn, "/icon/apple-touch-icon.png") %>">
+    <link rel="icon" sizes="any" href="<%= Routes.static_path(@conn, "/icon/favicon.ico") %>">
+    <link rel="icon" href="<%= Routes.static_path(@conn, "/icon/favicon.svg") %>" type="image/svg+xml">
+    <link rel="manifest" href="<%= Routes.static_path(@conn, "/icon/rook.webmanifest") %>">
+
     <link rel="stylesheet" href="<%= Routes.static_path(@conn, "/css/app.css") %>"/>
   </head>
   <body>