diff options
author | Alex Auvolat <alex@adnab.me> | 2018-10-13 09:44:12 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2018-10-13 09:44:12 +0200 |
commit | b26c794c3b4f8a5ec7892c512193f11656264814 (patch) | |
tree | acaf605623b67223fc437e50ea4baea893eb1c79 /shardweb/lib | |
parent | 7ca716237b7c2e51dc0c4e928f813a813660db20 (diff) | |
download | shard-b26c794c3b4f8a5ec7892c512193f11656264814.tar.gz shard-b26c794c3b4f8a5ec7892c512193f11656264814.zip |
fix favicon
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"> |