1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-10 23:24:04 +02:00

Default theme: updates and improvements

This commit is contained in:
Awilum
2018-12-26 04:09:50 +03:00
parent 75c6d2cf74
commit e52dedeb59
2 changed files with 4 additions and 1 deletions

View File

@@ -1,5 +1,7 @@
<?php namespace Flextype ?>
<?php Themes::view('partials/head')->display() ?>
<h3><?= $entry['title'] ?></h3>
<h1><?= $entry['title'] ?></h1>
<div class="blog-post">
<?= $entry['content'] ?>
</div>
<?php Themes::view('partials/footer')->display() ?>

View File

@@ -1,5 +1,6 @@
<?php namespace Flextype ?>
<?php Themes::view('partials/head')->display() ?>
<h1><?= $entry['title'] ?></h1>
<?php foreach (Entries::getEntries('blog') as $entry): ?>
<a href="<?= $entry['url'] ?>" class="blog-post">
<h3><?= $entry['title'] ?></h3>