Commit 0f0663a1 authored by Nigel McNie's avatar Nigel McNie
Browse files

Add breadcrumbs for blogs.

parent 1d889589
......@@ -43,7 +43,7 @@ class HtmlExportBlog extends HtmlExportArtefactPlugin {
}
$smarty = $this->exporter->get_smarty('../../../');
$smarty->assign('title', $blog->get('title'));
$smarty->assign('breadcrumbs', array(array('text' => $blog->get('title'), 'path' => 'index.html')));
$rendered = $blog->render_self(array());
$smarty->assign('rendered_blog', $rendered['html']);
$content = $smarty->fetch('export:html/blog:index.tpl');
......
Markdown is supported
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