diff options
Diffstat (limited to 'shardweb/lib')
-rw-r--r-- | shardweb/lib/endpoint.ex | 2 | ||||
-rw-r--r-- | shardweb/lib/templates/layout/app.html.eex | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/shardweb/lib/endpoint.ex b/shardweb/lib/endpoint.ex index fb8a48f..bc75357 100644 --- a/shardweb/lib/endpoint.ex +++ b/shardweb/lib/endpoint.ex @@ -9,7 +9,7 @@ defmodule ShardWeb.Endpoint do # when deploying your static files in production. plug Plug.Static, at: "/", from: :shardweb, gzip: false, - only: ~w(css fonts font-awesome images js favicon.ico robots.txt) + only: ~w(css fonts font-awesome images js favicon.ico favicon.png robots.txt) # Code reloading can be explicitly enabled under the # :code_reloader configuration of your endpoint. diff --git a/shardweb/lib/templates/layout/app.html.eex b/shardweb/lib/templates/layout/app.html.eex index 9c5a358..c6ebcd2 100644 --- a/shardweb/lib/templates/layout/app.html.eex +++ b/shardweb/lib/templates/layout/app.html.eex @@ -11,6 +11,10 @@ <title>Shard.</title> + <link rel="icon" href="<%= static_path(@conn, "/favicon.ico") %>" /> + <link rel="icon" href="<%= static_path(@conn, "/favicon.png") %>" type="image/png" /> + + <!-- Bootstrap Core CSS --> <link href="<%= static_path(@conn, "/css/bootstrap.min.css") %>" rel="stylesheet"> |