<article> <header class="flex flex-row"> <h1 :if={@post.title} class="font-bold text-xl mb-3">{@post.title}</h1> </header> <section class="prose prose-cms max-w-none">{raw(@post.body)}</section> <footer class="mt-5 py-1 border-t border-gray-200 relative"> <.link :if={@admin?} class="absolute right-0" href={~p"/admin/posts/#{@post}"}>edit</.link> </footer> </article>