1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-16 01:54:28 +02:00

Default theme: new templates added

This commit is contained in:
Awilum
2018-12-26 02:01:54 +03:00
parent 72d0828fed
commit ddb2f83cfc
3 changed files with 21 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
<?php namespace Flextype ?>
<?php Themes::view('partials/head')->display() ?>
<h3><?= $entry['title'] ?></h3>
<?= $entry['content'] ?>
<?php Themes::view('partials/footer')->display() ?>

View File

@@ -0,0 +1,9 @@
<?php namespace Flextype ?>
<?php Themes::view('partials/head')->display() ?>
<?php foreach (Entries::getEntries('blog') as $entry): ?>
<a href="<?= $entry['url'] ?>">
<h3><?= $entry['title'] ?></h3>
<?= $entry['summary'] ?>
</a>
<?php endforeach ?>
<?php Themes::view('partials/footer')->display() ?>

View File

@@ -0,0 +1,7 @@
<?php namespace Flextype ?>
<?php Themes::view('partials/head')->display() ?>
<?= $entry['content'] ?>
<?php foreach (Entries::getEntries('blog') as $post): ?>
<?= $post['title'] ?>
<?php endforeach ?>
<?php Themes::view('partials/footer')->display() ?>