„lib/chiya_web/controllers/page_html/note.html.heex“ ändern

This commit is contained in:
inhji 2023-07-07 14:33:17 +02:00
parent 2774702a31
commit e13312d308

View file

@ -1,9 +1,9 @@
<article class="h-entry hentry"> <article class="h-entry hentry">
<.header class_title="max-w-2xl mx-auto | p-name"> <.header class="max-w-2xl mx-auto" class_title="p-name">
<:title><%= @note.name %></:title> <:title><%= @note.name %></:title>
</.header> </.header>
<section class="mt-8 prose prose-gruvbox md:prose-lg lg:prose-xl | p-summary e-content"> <section class="mt-8 mx-auto prose prose-gruvbox md:prose-lg lg:prose-xl | p-summary e-content">
<%= Markdown.render(@note.content) |> raw %> <%= Markdown.render(@note.content) |> raw %>
</section> </section>