Skip to content

Commit 2e876f1

Browse files
committed
feat: add PostLayout
1 parent 8decfbe commit 2e876f1

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
defmodule <%= @app_module %>.PostLayout do
2+
use Tableau.Layout, layout: <%= @app_module %>.RootLayout
3+
use Phoenix.Component
4+
5+
def template(assigns) do
6+
~H"""
7+
<%= {:safe, render(@inner_content)} %>
8+
"""
9+
end
10+
end

0 commit comments

Comments
 (0)