diff --git a/templates/ArchiveWidget.ss b/templates/ArchiveWidget.ss index 198fc53..e145171 100644 --- a/templates/ArchiveWidget.ss +++ b/templates/ArchiveWidget.ss @@ -1,21 +1,21 @@ <% if DisplayMode == month %> <% else %> <% end_if %> \ No newline at end of file diff --git a/templates/Includes/BlogPagination.ss b/templates/Includes/BlogPagination.ss index da6c838..804326c 100644 --- a/templates/Includes/BlogPagination.ss +++ b/templates/Includes/BlogPagination.ss @@ -1,27 +1,41 @@ <% if BlogEntries.MoreThanOnePage %> -
-

- <% if BlogEntries.NotFirstPage %> - +

+ <% end_loop %> + + <% if BlogEntries.NotLastPage %> + + <% else %> + + <% end_if %> + +
<% end_if %> \ No newline at end of file diff --git a/templates/Includes/BlogSummary.ss b/templates/Includes/BlogSummary.ss index 0be8d1b..897fd06 100644 --- a/templates/Includes/BlogSummary.ss +++ b/templates/Includes/BlogSummary.ss @@ -4,9 +4,9 @@ <% if TagsCollection %>

Tags: - <% control TagsCollection %> - <% if Last %><% else %>,<% end_if %> - <% end_control %> + <% loop TagsCollection %> + <% if not Last %>,<% end_if %> + <% end_loop %>

<% end_if %> diff --git a/templates/Includes/BreadCrumbs.ss b/templates/Includes/BreadCrumbs.ss index f83475a..85f7896 100644 --- a/templates/Includes/BreadCrumbs.ss +++ b/templates/Includes/BreadCrumbs.ss @@ -1,5 +1,5 @@ <% if Level(2) %> <% end_if %> \ No newline at end of file diff --git a/templates/Includes/TrackBacks.ss b/templates/Includes/TrackBacks.ss index 77210c5..41c04df 100644 --- a/templates/Includes/TrackBacks.ss +++ b/templates/Includes/TrackBacks.ss @@ -3,12 +3,12 @@ <% if TrackBacks %> <% else %>

No TrackBacks have been submitted for this page.

diff --git a/templates/Layout/BlogEntry.ss b/templates/Layout/BlogEntry.ss index 67f36b8..4ebc3bb 100644 --- a/templates/Layout/BlogEntry.ss +++ b/templates/Layout/BlogEntry.ss @@ -9,13 +9,11 @@

<% _t('TAGS', 'Tags:') %> <% control TagsCollection %> - <% if Last %><% else %>,<% end_if %> + <% if not Last %>,<% end_if %> <% end_control %>

- <% end_if %> - - $Content - + <% end_if %> + $Content <% if IsOwner %>

<% _t('EDITTHIS', 'Edit this post') %> | <% _t('UNPUBLISHTHIS', 'Unpublish this post') %>

<% end_if %> diff --git a/templates/Layout/BlogHolder.ss b/templates/Layout/BlogHolder.ss index 0ce2595..47a86c6 100644 --- a/templates/Layout/BlogHolder.ss +++ b/templates/Layout/BlogHolder.ss @@ -5,17 +5,25 @@ <% include BreadCrumbs %> <% if SelectedTag %> -

<% _t('VIEWINGTAGGED', 'Viewing entries tagged with') %> '$SelectedTag'

+
+ + <% _t('VIEWINGTAGGED', 'Viewing entries tagged with') %> '$SelectedTag' + +
<% else_if SelectedDate %> -

<% _t('VIEWINGPOSTEDIN', 'Viewing entries posted in') %> $SelectedNiceDate

+
+ + <% _t('VIEWINGPOSTEDIN', 'Viewing entries posted in') %> $SelectedNiceDate + +
<% end_if %> <% if BlogEntries %> - <% control BlogEntries %> - <% include BlogSummary %> - <% end_control %> + <% loop BlogEntries %> + <% include BlogSummary %> + <% end_loop %> <% else %> -

<% _t('NOENTRIES', 'There are no blog entries') %>

+

<% _t('NOENTRIES', 'There are no blog entries') %>

<% end_if %> <% include BlogPagination %> diff --git a/templates/Layout/BlogTree.ss b/templates/Layout/BlogTree.ss index 8c64613..7a77f4a 100644 --- a/templates/Layout/BlogTree.ss +++ b/templates/Layout/BlogTree.ss @@ -12,10 +12,10 @@ <% if BlogEntries %> <% control BlogEntries %> - <% include BlogSummary %> + <% include BlogSummary %> <% end_control %> <% else %> -

<% _t('NOENTRIES', 'There are no blog entries') %>

+

<% _t('NOENTRIES', 'There are no blog entries') %>

<% end_if %> <% include BlogPagination %> diff --git a/templates/RSSWidget.ss b/templates/RSSWidget.ss index 1cf1089..eb133aa 100644 --- a/templates/RSSWidget.ss +++ b/templates/RSSWidget.ss @@ -1,7 +1,7 @@ \ No newline at end of file diff --git a/templates/TagCloudWidget.ss b/templates/TagCloudWidget.ss index 773987c..3544269 100644 --- a/templates/TagCloudWidget.ss +++ b/templates/TagCloudWidget.ss @@ -1,5 +1,5 @@

- <% control TagsCollection %> + <% loop TagsCollection %> $Tag - <% end_control %> + <% end_loop %>

\ No newline at end of file