public function exportForTwigRendering()
{
$path_info = pathinfo($this->getRelativeLocation());
return array_merge($this->getConfiguration()->extract(), array('location' => str_replace($path_info['basename'], $path_info['filename'] . '.htm', $this->getRelativeLocation()), 'html' => $this->getHtmlContent(), 'markdown' => $this->getMarkdownContent()));
}