Commit 368b7440 authored by Nigel McNie's avatar Nigel McNie
Browse files

Export the description when viewing a blog.

parent b7a9cedc
......@@ -219,6 +219,7 @@ class ArtefactTypeBlog extends ArtefactType {
$smarty->assign('enc_id', json_encode($this->id));
$smarty->assign('limit', self::pagination);
$smarty->assign('loading_img', theme_get_url('images/loading.gif'));
$smarty->assign('description', $this->get('description'));
// Remove unnecessary options for blog posts
unset($options['hidetitle']);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment