<% require css('silverstripe/blog: client/dist/styles/main.css') %>

<% if $ArchiveYear %> <%t SilverStripe\\Blog\\Model\\Blog.Archive 'Archive' %>: <% if $ArchiveDay %> $ArchiveDate.Nice <% else_if $ArchiveMonth %> $ArchiveDate.format('F, Y') <% else %> $ArchiveDate.format('Y') <% end_if %> <% else_if $CurrentTag %> <%t SilverStripe\\Blog\\Model\\Blog.Tag 'Tag' %>: $CurrentTag.Title <% else_if $CurrentCategory %> <%t SilverStripe\\Blog\\Model\\Blog.Category 'Category' %>: $CurrentCategory.Title <% else %> $Title <% end_if %>

$Content
<% if $PaginatedList.Exists %> <% loop $PaginatedList %> <% include SilverStripe\\Blog\\PostSummary %> <% end_loop %> <% else %>

<%t SilverStripe\\Blog\\Model\\Blog.NoPosts 'There are no posts' %>

<% end_if %>
$Form $CommentsForm <% with $PaginatedList %> <% include SilverStripe\\Blog\\Pagination %> <% end_with %>
<% include SilverStripe\\Blog\\BlogSideBar %>