diff --git a/lib/chiya_web/controllers/page_html/note.html.heex b/lib/chiya_web/controllers/page_html/note.html.heex index 96ea187..46b3d3a 100644 --- a/lib/chiya_web/controllers/page_html/note.html.heex +++ b/lib/chiya_web/controllers/page_html/note.html.heex @@ -6,3 +6,25 @@
<%= Markdown.render(@note.content) |> raw %>
+ +<%= if !Enum.empty?(@note.images) do %> + <.line /> + +
+ <%= for image <- @note.images do %> +
+ + + + + + + +
+ <% end %> +
+<% end %> +