1
0
mirror of synced 2024-12-16 16:16:04 +03:00
doctrine2/website/apps/frontend/modules/blog/templates/indexSuccess.php
2007-09-06 17:42:07 +00:00

15 lines
478 B
PHP

<div class="content" id="blog">
<h1>Doctrine Blog</h2>
<?php foreach($latestBlogPosts AS $blogPost): ?>
<div class="blog_post">
<h2><?php echo link_to($blogPost->getName(), '@blog_post?slug='.$blogPost->getSlug()); ?></h2>
<p><?php echo $blogPost->getBody(); ?></p>
</div>
<?php endforeach; ?>
</div>
<?php slot('right'); ?>
<?php echo get_partial('latest_blog_posts', array('latestBlogPosts' => $latestBlogPosts)); ?>
<?php end_slot(); ?>