1
0
www.mikescher.com/www/fragments/blogview_markdown.php

27 lines
594 B
PHP
Raw Normal View History

2017-12-30 23:46:27 +01:00
<?php
2020-01-16 10:50:18 +01:00
require_once (__DIR__ . '/../internals/website.php');
/** @var PageFrameOptions $FRAME_OPTIONS */ global $FRAME_OPTIONS;
/** @var URLRoute $ROUTE */ global $ROUTE;
/** @var Website $SITE */ global $SITE;
global $FRAGMENT_PARAM;
/** @var array $parameter */
$parameter = $FRAGMENT_PARAM;
?>
<?php
$post = $parameter['blogpost'];
2017-12-30 23:46:27 +01:00
?>
2018-01-21 15:29:01 +01:00
<div class="boxedcontent blogcontent_markdown base_markdown">
2017-12-30 23:46:27 +01:00
<div class="bc_header">
<?php echo $post['date']; ?>
</div>
<div class="bc_data">
2020-01-16 10:50:18 +01:00
<?php echo $SITE->renderMarkdown($SITE->modules->Blog()->getPostFragment($post)); ?>
2017-12-30 23:46:27 +01:00
</div>
</div>