mirror of
https://github.com/flextype/flextype.git
synced 2025-08-12 08:04:05 +02:00
Default theme: home template updates
This commit is contained in:
@@ -1,7 +1,11 @@
|
||||
<?php namespace Flextype ?>
|
||||
<?php Themes::view('partials/head')->display() ?>
|
||||
<?= $entry['content'] ?>
|
||||
<?php foreach (Entries::getEntries('blog') as $post): ?>
|
||||
<?= $post['title'] ?>
|
||||
<?php foreach (Entries::getEntries('blog', false, 'date', 'DESC', 0, 3) as $entry): ?>
|
||||
<a href="<?= $entry['url'] ?>">
|
||||
<h3><?= $entry['title'] ?></h3>
|
||||
<?= $entry['summary'] ?>
|
||||
</a>
|
||||
<?php endforeach ?>
|
||||
READ THE REST OF THE BLOG
|
||||
<?php Themes::view('partials/footer')->display() ?>
|
||||
|
Reference in New Issue
Block a user