diff --git a/lib/chiya_web/controllers/page_html/note.html.heex b/lib/chiya_web/controllers/page_html/note.html.heex index c8de6d8..0a3664c 100644 --- a/lib/chiya_web/controllers/page_html/note.html.heex +++ b/lib/chiya_web/controllers/page_html/note.html.heex @@ -3,40 +3,40 @@

<%= @note.name %>

-

- <%= if @note.published_at do %> - Published - <% else %> - Unpublished - <% end %> - - <.dot /> - Last Updated - - <%= if not Enum.empty?(@note.tags) do %> - <.dot /> - Tags - - <%= for tag <- @note.tags do %> - - <%= tag.name %> - - <% end %> - - <% end %> - <%= if @current_user do %> - <.dot /> - Show in Admin - <% end %> -

-
+
<%= Markdown.render(@note.content) |> raw %>
-