1
0
www.mikescher.com/www/protected/views/blogpost/view.php
2014-07-30 20:22:54 +02:00

34 lines
691 B
PHP

<?php
/* @var $this BlogPostController */
/* @var $model BlogPost */
?>
<?php
$this->pageTitle = 'Blogpost: ' . $model->Title . ' - ' . Yii::app()->name;
$this->breadcrumbs = array(
'Blog' => array('/blog'),
$model->Title,
);
?>
<div class="container">
<?php echo MsHtml::pageHeader("Blog", "My personal programming blog"); ?>
<div class="blogOwner well markdownOwner" id="markdownAjaxContent">
<?php echo ParsedownHelper::parse($model->Content); ?>
<div class="blogFooter">
<div class="blogFooterLeft">
<?php echo $model->Title; ?>
</div>
<div class="blogFooterRight">
<?php echo $model->getDateTime()->format('d.m.Y'); ?>
</div>
</div>
</div>
</div>