<%= 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 %>
<%= if !Enum.empty?(@note.images) do %>
<.line />
<%= for image <- @note.images do %>
<% end %>
<% end %>
<%= if not Enum.empty?(@note.comments) do %>
<.line />