diff --git a/README.md b/README.md index 6610703..4b6fe1a 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # [mediawesome](https://packagist.org/packages/nglasl/silverstripe-mediawesome) -_The current release is **2.0.3**_ +_The current release is **2.0.4**_ > A module for SilverStripe which will allow creation of dynamic media holders/pages with CMS customisable types and attributes (blogs, events, news, publications). diff --git a/templates/Layout/MediaHolder.ss b/templates/Layout/MediaHolder.ss index f7bf626..5856ee5 100644 --- a/templates/Layout/MediaHolder.ss +++ b/templates/Layout/MediaHolder.ss @@ -6,7 +6,7 @@ <% if $MediaHolderChildren %> <% loop $MediaHolderChildren %>
-

{$Title}

+

{$Title}

{$Content.Summary}

@@ -14,7 +14,7 @@ <% else %> <% loop $PaginatedChildren %>
-

target='_blank'<% end_if %>>{$Title}

+

target='_blank'<% end_if %>>{$Title}

{$Date.Format('M j, Y')}

<% if $Abstract %>
{$Abstract}
diff --git a/templates/Layout/MediaPage.ss b/templates/Layout/MediaPage.ss index 1f64875..57945ce 100644 --- a/templates/Layout/MediaPage.ss +++ b/templates/Layout/MediaPage.ss @@ -6,11 +6,11 @@

<% end_if %> <% if $Categories %> -

+

<% loop $Categories %> {$Title} <% end_loop %> -

+ <% end_if %>
{$Date}