diff --git a/app/templates/SilverStripe/Blog/Model/Layout/Blog_profile.ss b/app/templates/SilverStripe/Blog/Model/Layout/Blog_profile.ss index 5bbca51..785ce8d 100644 --- a/app/templates/SilverStripe/Blog/Model/Layout/Blog_profile.ss +++ b/app/templates/SilverStripe/Blog/Model/Layout/Blog_profile.ss @@ -1,23 +1,49 @@ -<% require css('silverstripe/blog: client/dist/styles/main.css') %> +
+ <% include Content ExcludeHeader=true %> -
+
+
+
+ <%t SilverStripe\\Blog\\Model\\Blog.PostsByUser 'Posts by {firstname} {surname} for {title}' firstname=$CurrentProfile.FirstName surname=$CurrentProfile.Surname title=$Title %> +
+
- <% include SilverStripe\\Blog\\MemberDetails %> + <% 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 %> - <% if $PaginatedList.Exists %> -

<%t SilverStripe\\Blog\\Model\\Blog.PostsByUser 'Posts by {firstname} {surname} for {title}' firstname=$CurrentProfile.FirstName surname=$CurrentProfile.Surname title=$Title %>

- <% loop $PaginatedList %> - <% include SilverStripe\\Blog\\PostSummary %> - <% end_loop %> - <% end_if %> - - $Form - $CommentsForm - - <% with $PaginatedList %> - <% include SilverStripe\\Blog\\Pagination %> - <% end_with %> +
+
+ <% with $PaginatedList %> + <% include Objects\Pagination %> + <% end_with %> +
+
+ <% if $CommentsForm %> +
+
+ $CommentsForm +
+
+ <% end_if %> +
-<% include SilverStripe\\Blog\\BlogSideBar %> +<%-- include SilverStripe\\Blog\\BlogSideBar --%>