chiya/lib/chiya_web/controllers/page_html/channel.html.heex
2023-07-13 16:39:55 +02:00

10 lines
306 B
Text

<section class="max-w-2xl mx-auto">
<.header>
<%= @channel.name %>
<:subtitle><%= Markdown.render(@note.content) |> raw %></:subtitle>
</.header>
<div class="w-full mt-6 sm:w-auto flex flex-col gap-1.5">
<.note_list notes={@channel.notes} layout={@channel.layout} />
</div>
</section>