<% include Content ExcludeHeader=true %>
<% 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 %>
<% if $PaginatedList.Exists %>
<% loop $PaginatedList %>
<% include SilverStripe\Blog\Includes\BlogPostInfo %>
<% end_loop %>
<% else %>

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

<% end_if %>
<% with $PaginatedList %> <% include Objects\Pagination %> <% end_with %>
<% if $CommentsForm %>
$CommentsForm
<% end_if %>
<%-- include SilverStripe\\Blog\\BlogSideBar --%>