Add getPureContent to Page to be able to get content without template

This commit is contained in:
Stéphane Goetz
2016-03-13 21:51:15 +01:00
parent d8f7a6e238
commit 55ef0b982b
7 changed files with 38 additions and 5 deletions

View File

@ -81,7 +81,7 @@ class ContentPage extends \Todaymade\Daux\Format\Base\ContentPage
'modified_time' => filemtime($this->file->getPath()),
'markdown' => $this->content,
'request' => $params['request'],
'content' => $this->convertPage($this->content),
'content' => $this->getPureContent(),
'breadcrumbs' => $params['html']['breadcrumbs'],
'prev' => $this->file->getPrevious(),
'next' => $this->file->getNext(),