From c3a46f9b8f4c11fb4ce81ab9177591238e15198b Mon Sep 17 00:00:00 2001 From: Mel Date: Mon, 21 Feb 2022 02:45:55 +0100 Subject: Add favicon --- lib/rook_web/endpoint.ex | 2 +- lib/rook_web/templates/layout/app.html.eex | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'lib') 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 @@ Rook + + "> + "> + " type="image/svg+xml"> + "> + "/> -- cgit 1.4.1