2024-11-08 18:33:02 +02:00
|
|
|
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>
|
2024-11-08 18:33:02 +02:00
|
|
|
<%= {:safe, render(@inner_content)} %>
|
2024-11-18 17:10:08 +02:00
|
|
|
</article>
|
2024-11-08 18:33:02 +02:00
|
|
|
"""
|
|
|
|
end
|
|
|
|
end
|