diff --git a/lib/chiya/notes/references.ex b/lib/chiya/notes/references.ex index 4729795..9b8cf8d 100644 --- a/lib/chiya/notes/references.ex +++ b/lib/chiya/notes/references.ex @@ -153,7 +153,8 @@ defmodule Chiya.Notes.References do target_id: linked_id } - defp get_link(slug, title, valid), do: "[#{title}](#{~p"/#{slug}"})#{get_link_class(valid)}" + defp get_link(slug, title, valid), + do: "[#{title}](#{~p"/note/#{slug}"})#{get_link_class(valid)}" defp get_link_class(false), do: "{:.invalid}" defp get_link_class(_), do: "" diff --git a/lib/chiya_web/components/layouts/root_public.html.heex b/lib/chiya_web/components/layouts/root_public.html.heex index a2577ef..4030e2e 100644 --- a/lib/chiya_web/components/layouts/root_public.html.heex +++ b/lib/chiya_web/components/layouts/root_public.html.heex @@ -68,7 +68,7 @@ <%= identity.name %> <.dot /> <% end %> - About + About <.dot /> Admin
diff --git a/lib/chiya_web/components/public_components.ex b/lib/chiya_web/components/public_components.ex index 0477d71..cdb2ff0 100644 --- a/lib/chiya_web/components/public_components.ex +++ b/lib/chiya_web/components/public_components.ex @@ -85,7 +85,7 @@ defmodule ChiyaWeb.PublicComponents do <% end %> <%= note.name %> @@ -113,7 +113,7 @@ defmodule ChiyaWeb.PublicComponents do <%= pretty_datetime(note.published_at) %> <.dot /> - Permalink + Permalink <%= if not Enum.empty?(note.images) do %> <.dot /> <.icon name="hero-photo" /> @@ -130,7 +130,7 @@ defmodule ChiyaWeb.PublicComponents do