1
0
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:
Awilum
2018-12-26 02:59:00 +03:00
parent 903d5bf066
commit fa3b48117c

View File

@@ -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() ?>