diff --git a/templates/BreadcrumbsTemplate.ss b/templates/BreadcrumbsTemplate.ss
index ae321f13..b0449e24 100644
--- a/templates/BreadcrumbsTemplate.ss
+++ b/templates/BreadcrumbsTemplate.ss
@@ -7,7 +7,7 @@
<% loop $Pages %>
- <% if $Last %>
+ <% if $IsLast %>
$MenuTitle.XML
<% else %>
$MenuTitle.XML
diff --git a/templates/CommentsInterface.ss b/templates/CommentsInterface.ss
index 24073895..531fce90 100644
--- a/templates/CommentsInterface.ss
+++ b/templates/CommentsInterface.ss
@@ -25,7 +25,7 @@
<% if $PagedComments %>
<% if $Credits %> - <% loop $Credits %><% if not $First && not $Last %>, <% end_if %><% if not $First && $Last %><% if $TotalItems > '2' %>,<% end_if %> <%t BlogPostMeta_ss.AND "and" %> <% end_if %><% if $URLSegment %>$Name.XML<% else %>$Name.XML<% end_if %><% end_loop %> + <% loop $Credits %><% if not $IsFirst && not $IsLast %>, <% end_if %><% if not $IsFirst && $IsLast %><% if $TotalItems > '2' %>,<% end_if %> <%t BlogPostMeta_ss.AND "and" %> <% end_if %><% if $URLSegment %>$Name.XML<% else %>$Name.XML<% end_if %><% end_loop %> <% end_if %> <% if $PublishDate %> diff --git a/templates/Includes/CommentReplies.ss b/templates/Includes/CommentReplies.ss index 2908200b..cb6e933a 100644 --- a/templates/Includes/CommentReplies.ss +++ b/templates/Includes/CommentReplies.ss @@ -9,7 +9,7 @@ <% if $Replies %>
<% loop $Replies %> --
+
-
<% include CommentsInterface_singlecomment %>
<% end_loop %>
diff --git a/templates/SilverStripe/Blog/Includes/EntryMeta.ss b/templates/SilverStripe/Blog/Includes/EntryMeta.ss
index 513f1e7a..42d3fc4a 100644
--- a/templates/SilverStripe/Blog/Includes/EntryMeta.ss
+++ b/templates/SilverStripe/Blog/Includes/EntryMeta.ss
@@ -3,14 +3,14 @@
<% if $Categories.exists %>
<%t Blog.PostedIn "Posted in" %>
<% loop $Categories %>
- $Title<% if not Last %>, <% end_if %>
+ $Title<% if not $IsLast %>, <% end_if %>
<% end_loop %>
<% end_if %>
<% if $Categories && $Tags %>
<% end_if %> <% if $Tags.exists %> <%t Blog.Tagged "Tagged" %> <% loop $Tags %> - $Title<% if not Last %>, <% end_if %> + $Title<% if not $IsLast %>, <% end_if %> <% end_loop %> <% end_if %> @@ -20,7 +20,7 @@ <% if $Credits %> <%t Blog.By "by" %> - <% loop $Credits %><% if not $First && not $Last %>, <% end_if %><% if not $First && $Last %> <%t Blog.AND "and" %> <% end_if %><% if $URLSegment %>$Name.XML<% else %>$Name.XML<% end_if %><% end_loop %> + <% loop $Credits %><% if not $IsFirst && not $IsLast %>, <% end_if %><% if not $IsFirst && $IsLast %> <%t Blog.AND "and" %> <% end_if %><% if $URLSegment %>$Name.XML<% else %>$Name.XML<% end_if %><% end_loop %> <% end_if %> <% if $Comments.exists %> diff --git a/templates/SilverStripe/UserForms/Form/Includes/UserFormProgress.ss b/templates/SilverStripe/UserForms/Form/Includes/UserFormProgress.ss index 008bd098..f1439416 100644 --- a/templates/SilverStripe/UserForms/Form/Includes/UserFormProgress.ss +++ b/templates/SilverStripe/UserForms/Form/Includes/UserFormProgress.ss @@ -7,7 +7,7 @@