defmodule SloaneSH.Layouts.Partials do @moduledoc """ HTML partials for use in HTML layouts """ require EEx import SloaneSH.Layouts.Helpers, warn: false EEx.function_from_string( :def, :header, ~S"""
<%= if attrs[:title] do %>

<%= attrs[:title] %>

<% end %>
sloane.sh
""", [:ctx, :attrs] ) end