diff --git a/lib/chiya_web/components/public_components.ex b/lib/chiya_web/components/public_components.ex index 7e82a5e..3074271 100644 --- a/lib/chiya_web/components/public_components.ex +++ b/lib/chiya_web/components/public_components.ex @@ -76,13 +76,13 @@ defmodule ChiyaWeb.PublicComponents do <%= for tag <- @note.tags do %> <%= if assigns.linked do %> - - <%= tag.name %> - + + <%= tag.name %> + <% else %> - - <%= tag.name %> - + + <%= tag.name %> + <% end %> <.dot class="text-theme-base/50 last:hidden" /> <% end %> @@ -162,9 +162,9 @@ defmodule ChiyaWeb.PublicComponents do <% end %> <%= if not Enum.empty?(note.tags) do %> - - <.tags note={note} linked={false} /> - + + <.tags note={note} linked={false} /> + <% end %> <% end %> diff --git a/lib/chiya_web/controllers/note_controller.ex b/lib/chiya_web/controllers/note_controller.ex index b2d8127..33669c6 100644 --- a/lib/chiya_web/controllers/note_controller.ex +++ b/lib/chiya_web/controllers/note_controller.ex @@ -11,8 +11,8 @@ defmodule ChiyaWeb.NoteController do conn |> with_channels() - |> render(:index, - notes: notes, + |> render(:index, + notes: notes, page_title: "Notes" ) end @@ -22,8 +22,8 @@ defmodule ChiyaWeb.NoteController do conn |> with_channels() - |> render(:index, - notes: notes, + |> render(:index, + notes: notes, page_title: "Notes" ) end diff --git a/lib/chiya_web/controllers/page_html/bookmarks.html.heex b/lib/chiya_web/controllers/page_html/bookmarks.html.heex index beb37ca..f05c91f 100644 --- a/lib/chiya_web/controllers/page_html/bookmarks.html.heex +++ b/lib/chiya_web/controllers/page_html/bookmarks.html.heex @@ -12,16 +12,22 @@
diff --git a/priv/repo/migrations/20230729160000_add_bookmark_channel_setting.exs b/priv/repo/migrations/20230729160000_add_bookmark_channel_setting.exs index 03d4100..2cd28c8 100644 --- a/priv/repo/migrations/20230729160000_add_bookmark_channel_setting.exs +++ b/priv/repo/migrations/20230729160000_add_bookmark_channel_setting.exs @@ -6,4 +6,4 @@ defmodule Chiya.Repo.Migrations.AddBookmarkChannelSetting do add :bookmark_channel_id, references(:channels, on_delete: :nothing) end end -end \ No newline at end of file +end