<% assert(author,"No author specified") %> <% assert(bio,"No bio included") %> <{system cat src/pages/parts/header.etlua}>

<%= author %>.<%= domain %>

New paste <% if not loggedin then %> Log in <% else %> Log out Edit bio <% end %> <{system cat src/pages/parts/search.etlua}>
<% if bio ~= "" then %>
<%- bio %>
<% end %>
<% if #stories == 0 then %> This author has not made any pastes yet. <% else %> <% for k,story in pairs(stories) do %> <{system cat src/pages/parts/story_breif.etlua}> <% end %>
<% end %>
<{system cat src/pages/parts/footer.etlua}>