1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-11 23:54:06 +02:00

Default theme: updates

This commit is contained in:
Awilum
2018-12-26 03:48:59 +03:00
parent 2575994eca
commit f1469d419e

View File

@@ -1,11 +1,12 @@
<?php namespace Flextype ?>
<?php Themes::view('partials/head')->display() ?>
<?= $entry['content'] ?>
<?php foreach (Entries::getEntries('blog', false, 'date', 'DESC', 0, 3) as $entry): ?>
<a href="<?= $entry['url'] ?>">
<?php foreach (Entries::getEntries('blog', 'date', 'DESC', 0, 3) as $entry): ?>
<a href="<?= $entry['url'] ?>" class="blog-post">
<h3><?= $entry['title'] ?></h3>
<?= $entry['summary'] ?>
<p><?= $entry['summary'] ?></p>
<div><?= $entry['date'] ?></div>
</a>
<?php endforeach ?>
READ THE REST OF THE BLOG
<a href="#">Read the rest of the blog</a>
<?php Themes::view('partials/footer')->display() ?>