website/lib/layouts/post_layout.ex

13 lines
235 B
Elixir
Raw Permalink Normal View History

defmodule Website.PostLayout do
use Tableau.Layout, layout: Website.RootLayout
use Phoenix.Component
def template(assigns) do
~H"""
2024-11-18 17:10:08 +02:00
<article>
<%= {:safe, render(@inner_content)} %>
2024-11-18 17:10:08 +02:00
</article>
"""
end
end