add source code to footer, remove unneeded layouts
This commit is contained in:
@@ -6,9 +6,7 @@ defmodule MonoTab.IndexLayout do
|
||||
~H"""
|
||||
<h1>{@page[:title] || "Latest Posts"}</h1>
|
||||
|
||||
<%= if @page[:description] do %>
|
||||
<p>{@page[:description]}</p>
|
||||
<% end %>
|
||||
{{:safe, render(@inner_content)}}
|
||||
|
||||
<%= if assigns[:posts] && length(@posts) > 0 do %>
|
||||
<ul>
|
||||
@@ -27,8 +25,6 @@ defmodule MonoTab.IndexLayout do
|
||||
<% else %>
|
||||
<p>No posts found.</p>
|
||||
<% end %>
|
||||
|
||||
{{:safe, render(@inner_content)}}
|
||||
"""
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user