...
 
Commits (2)
......@@ -28,7 +28,7 @@ HtmlEditorConfig::get('cms')->setOption('theme_advanced_blockformats', 'h3, h4,
//BlogEntry::$defaults["ProvideComments"] = false;
//Add site config
Object::add_extension('SiteConfig', 'MySiteConfig');
SS_Object::add_extension('SiteConfig', 'MySiteConfig');
//Enable search engine
FulltextSearchable::enable();
<div class="post-summary blogSummary">
<h4 class="postTitle">
<a href="$Link" title="<%t Blog.ReadMoreAbout "Read more about '{title}'..." title=$Title %>">
<% if $MenuTitle %>$MenuTitle
<% else %>$Title<% end_if %>
</a>
</h4>
<% include EntryMeta %>
<p class="post-image">
<a href="$Link" title="<%t Blog.ReadMoreAbout "Read more about '{title}'..." title=$Title %>">
$FeaturedImage.setWidth(795)
</a>
</p>
<% if $Summary %>
$Summary
<% else %>
<p>$Excerpt</p>
<% end_if %>
<p>
<a href="$Link">
<%t Blog.ReadMoreAbout "Read more about '{title}'..." title=$Title %>
</a>
</p>
</div>