2014-07-11 19:29:19 +02:00
|
|
|
<?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">
|
|
|
|
|
2014-07-19 18:25:35 +02:00
|
|
|
<?php echo MsHtml::pageHeader("Blog", "My personal programming blog"); ?>
|
|
|
|
|
|
|
|
<div class="blogOwner well markdownOwner" id="markdownAjaxContent">
|
2014-07-11 19:29:19 +02:00
|
|
|
<?php echo ParsedownHelper::parse($model->Content); ?>
|
2014-07-19 18:25:35 +02:00
|
|
|
|
|
|
|
<div class="blogFooter">
|
|
|
|
<div class="blogFooterLeft">
|
|
|
|
<?php echo $model->Title; ?>
|
|
|
|
</div>
|
|
|
|
<div class="blogFooterRight">
|
|
|
|
<?php echo $model->getDateTime()->format('d.m.Y'); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
2014-07-11 19:29:19 +02:00
|
|
|
</div>
|
|
|
|
|
2014-09-06 15:39:39 +02:00
|
|
|
<div class="disqus_owner">
|
|
|
|
<?php
|
|
|
|
$this->widget(
|
|
|
|
'ext.YiiDisqusWidget.YiiDisqusWidget',
|
|
|
|
[
|
|
|
|
'shortname' => 'mikescher-de',
|
|
|
|
'identifier' => 'blog/view/' + $model->ID,
|
|
|
|
'title' => $model->Title,
|
|
|
|
'url' => $model->getAbsoluteLink(),
|
|
|
|
'category_id' => '3253401', // = blog/view
|
|
|
|
]
|
|
|
|
);
|
|
|
|
?>
|
|
|
|
</div>
|
|
|
|
|
2014-07-11 19:29:19 +02:00
|
|
|
</div>
|