<% require themedCSS('blog', 'blog') %>

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

$Content
<% if $FeaturedBlogPosts.Exists && $FeaturedBlogPosts.First %> <% with $FeaturedBlogPosts.First %> <% include FeaturedPostSummary %> <% end_with %> <% end_if %> <% if $PaginatedList.Exists %> <% loop $PaginatedList %> <% include PostSummary %> <% end_loop %> <% else %> <% if $FeaturedBlogPosts.Exists %>

<%t Blog.NoUnfeaturedPosts 'There are no non-featured posts' %>

<% else %>

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

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