+
+
+ <%= @note.name %>
+
+
-
+
+ <.featured_images note={@note} />
+
-
- <.featured_images note={@note} />
-
+
+ <%= Markdown.render(@note.content) |> raw %>
+
- <%= if has_outline?(@note) do %>
-
- <% end %>
+ <%= if not Enum.empty?(@note.links_to) do %>
+
+ Notes linking here:
+
+
+ <% end %>
-
- <%= Markdown.render(@note.content) |> raw %>
-
+ <%= if String.length(@note.url || "") > 0 do %>
+
+ <.icon name="hero-link" /> <%= @note.url %>
+
+ <% end %>
- <%= if not Enum.empty?(@note.links_to) do %>
-
- Notes linking here:
-
- <%= for link <- @note.links_to do %>
- <%= link.name %>
+
+
+
+ <%= if @note.published_at do %>
+ Published
+ <% else %>
+ Unpublished
+ <% end %>
+
+ <%= pretty_date(@note.published_at) %>
+ Last updated
+
+ <%= pretty_date(@note.published_at) %>
+
+ Tags
+ <.tags note={@note} />
+ Kind
+ <%= @note.kind %>
+
+
+ Inhji
+ <%= @note.name %>
+
+
+
+ <%= if !Enum.empty?(@note.images) do %>
+
+ <%= for image <- @note.images do %>
+
+
+
+ <% end %>
+
<% end %>
+
+
+
+