silverstripe-blog/templates/Layout/BlogPost.ss

21 lines
415 B
Scheme
Raw Permalink Normal View History

2015-03-04 23:20:47 +01:00
<% require themedCSS('blog', 'blog') %>
<div class="blog-entry content-container <% if $SideBarView %>unit size3of4<% end_if %>">
<article>
<h1>$Title</h1>
2015-11-12 00:20:11 +01:00
<% if $FeaturedImage %>
2015-03-04 23:20:47 +01:00
<p class="post-image">$FeaturedImage.setWidth(795)</p>
<% end_if %>
2015-11-12 00:20:11 +01:00
2015-03-04 23:20:47 +01:00
<div class="content">$Content</div>
<% include EntryMeta %>
</article>
2015-11-12 00:20:11 +01:00
$Form
2015-04-13 06:20:52 +02:00
$CommentsForm
2015-03-04 23:20:47 +01:00
</div>
<% include BlogSideBar %>