Fix excerpt parsing
This commit is contained in:
parent
accd76c60b
commit
b7b0c99c21
|
@ -496,7 +496,7 @@ class BlogPost extends Page {
|
|||
*/
|
||||
$content = $this->dbObject('Content');
|
||||
|
||||
return $content->LimitWordCount($wordsToDisplay);
|
||||
return $content->Summary($wordsToDisplay);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -13,8 +13,7 @@
|
|||
</p>
|
||||
|
||||
<% if $Summary %>
|
||||
$Summary
|
||||
<p>
|
||||
<p>$Summary
|
||||
<% else %>
|
||||
<p>$Excerpt
|
||||
<% end_if %>
|
||||
|
|
Loading…
Reference in New Issue