diff --git a/templates/Layout/Blog.ss b/templates/Layout/Blog.ss index f804805..95d8934 100644 --- a/templates/Layout/Blog.ss +++ b/templates/Layout/Blog.ss @@ -2,41 +2,41 @@
-
-

- <% 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 $PaginatedList.Exists %> - <% loop $PaginatedList %> - <% include PostSummary %> - <% end_loop %> - <% else %> -

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

- <% end_if %> -
- - $Form - $PageComments - - <% with $PaginatedList %> +
+

+ <% 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 $PaginatedList.Exists %> + <% loop $PaginatedList %> + <% include PostSummary %> + <% end_loop %> + <% else %> +

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

+ <% end_if %> +
+ + $Form + $CommentsForm + + <% with $PaginatedList %> <% include Pagination %> <% end_with %>
diff --git a/templates/Layout/BlogPost.ss b/templates/Layout/BlogPost.ss index 3a34c6e..f3839dc 100644 --- a/templates/Layout/BlogPost.ss +++ b/templates/Layout/BlogPost.ss @@ -3,18 +3,18 @@

$Title

- - <% if $FeaturedImage %> + + <% if $FeaturedImage %>

$FeaturedImage.setWidth(795)

<% end_if %> - +
$Content
<% include EntryMeta %>
- - $Form - $PageComments + + $Form + $CommentsForm
<% include BlogSideBar %> diff --git a/templates/Layout/Blog_profile.ss b/templates/Layout/Blog_profile.ss index 69aaff6..a5e94c4 100644 --- a/templates/Layout/Blog_profile.ss +++ b/templates/Layout/Blog_profile.ss @@ -2,21 +2,21 @@
- <% include MemberDetails %> + <% include MemberDetails %> - <% if $PaginatedList.Exists %> -

Posts by $CurrentProfile.FirstName $CurrentProfile.Surname for $Title:

- <% loop $PaginatedList %> - <% include PostSummary %> - <% end_loop %> - <% end_if %> - - $Form - $PageComments + <% if $PaginatedList.Exists %> +

Posts by $CurrentProfile.FirstName $CurrentProfile.Surname for $Title:

+ <% loop $PaginatedList %> + <% include PostSummary %> + <% end_loop %> + <% end_if %> - <% with $PaginatedList %> - <% include Pagination %> - <% end_with %> + $Form + $CommentsForm + + <% with $PaginatedList %> + <% include Pagination %> + <% end_with %>