<%= if @note.published_at do %>
Published
<% else %>
Unpublished
<% end %>
·Last Updated
<%= if not Enum.empty?(@note.tags) do %>
·Tags
<%= for tag <- @note.tags do %>
<%= tag.name %>
<% end %>
<% end %>
<%= if @current_user do %>
·Edit
<% end %>
<%= Markdown.render(@note.content) |> raw %>
<%= if !Enum.empty?(@note.images) do %>
<.line />
<%= for image <- @note.images do %>
<% end %>
<% end %>
<%= if not Enum.empty?(@note.comments) do %>
<.line />