mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
parent
705c2de93f
commit
679e690ca5
@ -258,6 +258,10 @@ class BlogPost extends Page
|
|||||||
$summaryHolder->setHeadingLevel(4);
|
$summaryHolder->setHeadingLevel(4);
|
||||||
$summaryHolder->addExtraClass('custom-summary');
|
$summaryHolder->addExtraClass('custom-summary');
|
||||||
|
|
||||||
|
if ($this->Summary) {
|
||||||
|
$summaryHolder->setStartClosed(false);
|
||||||
|
}
|
||||||
|
|
||||||
$fields->insertAfter('FeaturedImage', $summaryHolder);
|
$fields->insertAfter('FeaturedImage', $summaryHolder);
|
||||||
|
|
||||||
$authorField = ListboxField::create(
|
$authorField = ListboxField::create(
|
||||||
|
Loading…
Reference in New Issue
Block a user