<% if $ArchiveYear %> <%t SilverStripe\\Blog\\Model\\Blog.Archive 'Archive' %>: <% if $ArchiveDay %> $ArchiveDate.Nice <% else_if $ArchiveMonth %> $ArchiveDate.format('MMMM, 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 %>