silverstripe-blog/templates/SilverStripe/Blog/Model/Layout/Blog_profile.ss
2018-01-30 11:31:26 +13:00

24 lines
601 B
Scheme

<% require css('silverstripe/blog: client/dist/styles/main.css') %>
<div class="blog-entry content-container <% if $SideBarView %>unit size3of4<% end_if %>">
<% include SilverStripe\\Blog\\MemberDetails %>
<% if $PaginatedList.Exists %>
<h2>Posts by $CurrentProfile.FirstName $CurrentProfile.Surname for $Title:</h2>
<% loop $PaginatedList %>
<% include SilverStripe\\Blog\\PostSummary %>
<% end_loop %>
<% end_if %>
$Form
$CommentsForm
<% with $PaginatedList %>
<% include SilverStripe\\Blog\\Pagination %>
<% end_with %>
</div>
<% include SilverStripe\\Blog\\BlogSideBar %>