1
0
www.mikescher.com/www/protected/views/blogpost/index.php
Mike Schwörer c4692fee0a Changed {{core.ignorecase}} to false
// git config --unset-all core.ignorecase false
2014-07-30 20:10:27 +02:00

36 lines
561 B
PHP

<?php
/* @var $this BlogPostController */
/* @var $blogposts BlogPost[] */
?>
<?php
$this->pageTitle = 'Blog - ' . Yii::app()->name;
$this->breadcrumbs = array(
'Blog' => array('/blog'),
);
$this->selectedNav = 'blog';
?>
<div class="container">
<?php echo MsHtml::pageHeader("Blog", "My personal programming blog"); ?>
<?php
$i = 0;
foreach($blogposts as $blogpost) {
$i++;
$this->widget('BlogLink',
[
'date' => new DateTime($blogpost->Date),
'caption' => $blogpost->Title,
'link' => $blogpost->getLink(),
]);
}
?>
</div>