2021-03-21 21:06:35 +01:00
|
|
|
<% if $Title && $ShowTitle %><h2 class="element__title">$Title</h2><% end_if %>
|
|
|
|
<% if $Content %><div class="element__html typography">$Content</div><% end_if %>
|
2018-07-02 03:54:18 +02:00
|
|
|
|
|
|
|
<% if $PostsList %>
|
2021-03-21 21:06:35 +01:00
|
|
|
<div class="element__content">
|
2018-07-02 03:54:18 +02:00
|
|
|
<div class="row">
|
|
|
|
<% loop $PostsList %>
|
|
|
|
<div class="col-sm-4">
|
2021-03-14 21:45:35 +01:00
|
|
|
<% include SilverStripe\Blog\Includes\BlogPostInfo %>
|
2018-07-02 03:54:18 +02:00
|
|
|
</div>
|
|
|
|
<% end_loop %>
|
|
|
|
</div>
|
2021-03-21 21:06:35 +01:00
|
|
|
<%-- p><a href="$Blog.Link" class="element__link btn btn-primary" title="Go to the $Title page">View all posts</a></p --%>
|
|
|
|
</div>
|
2018-07-02 03:54:18 +02:00
|
|
|
<% end_if %>
|
|
|
|
|