From cf75007e4d5d3bfdc7b2fee6f9eb9ea36330a1bd Mon Sep 17 00:00:00 2001 From: shibao Date: Tue, 5 Jul 2022 01:09:47 -0400 Subject: [PATCH] add logo as favicon --- CHANGELOG.md | 3 +++ lib/cannery_web/live/home_live.ex | 2 +- lib/cannery_web/templates/layout/root.html.heex | 1 + mix.exs | 2 +- 4 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7c4de06..5098b16 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +# v0.5.5 +- Forgot to add the logo as the favicon whoops + # v0.5.4 - Rename "Ammo" tab to "Catalog", and "Manage" tab is now "Ammo" - Ammo groups are now just referred to as Ammo or "Packs" diff --git a/lib/cannery_web/live/home_live.ex b/lib/cannery_web/live/home_live.ex index 77f5d17..45c0203 100644 --- a/lib/cannery_web/live/home_live.ex +++ b/lib/cannery_web/live/home_live.ex @@ -134,7 +134,7 @@ defmodule CanneryWeb.HomeLive do to: "https://gitea.bubbletea.dev/shibao/cannery/src/branch/stable/CHANGELOG.md", target: "_blank", rel: "noopener noreferrer" do %> -

0.5.4

+

0.5.5

<% end %> diff --git a/lib/cannery_web/templates/layout/root.html.heex b/lib/cannery_web/templates/layout/root.html.heex index 385aae0..eb55b38 100644 --- a/lib/cannery_web/templates/layout/root.html.heex +++ b/lib/cannery_web/templates/layout/root.html.heex @@ -5,6 +5,7 @@ <%= csrf_meta_tag() %> + <%= if(assigns |> Map.has_key?(:page_title), do: @page_title, else: "Cannery") |> live_title_tag(suffix: " | Cannery") %> diff --git a/mix.exs b/mix.exs index 54e36d5..a5f2f38 100644 --- a/mix.exs +++ b/mix.exs @@ -4,7 +4,7 @@ defmodule Cannery.MixProject do def project do [ app: :cannery, - version: "0.5.4", + version: "0.5.5", elixir: "1.13.4", elixirc_paths: elixirc_paths(Mix.env()), compilers: [:gettext] ++ Mix.compilers(),