mirror of
https://github.com/flextype/flextype.git
synced 2025-08-11 23:54:06 +02:00
Flextype Core: Default Theme - templates fixes
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<?php namespace Flextype ?>
|
||||
<?php Themes::view('partials/head')->display() ?>
|
||||
<h1><?= $entry['title'] ?></h1>
|
||||
<?php foreach (Entries::getEntries('blog') as $entry): ?>
|
||||
<?php foreach (Entries::fetchAll('blog') as $entry): ?>
|
||||
<a href="<?= $entry['url'] ?>" class="blog-post">
|
||||
<h3><?= $entry['title'] ?></h3>
|
||||
<p><?= $entry['summary'] ?></p>
|
||||
|
@@ -1,8 +1,8 @@
|
||||
<?php namespace Flextype ?>
|
||||
<?php Themes::view('partials/head')->display() ?>
|
||||
<?= $entry['content'] ?>
|
||||
<?php foreach (Entries::getEntries('blog', 'date', 'DESC', 0, 3) as $entry): ?>
|
||||
<a href="<?= $entry['url'] ?>" class="blog-post">
|
||||
<?php foreach (Entries::fetchAll('blog', 'date', 'DESC', 0, 3) as $entry): ?>
|
||||
<a href="<?= $entry['slug'] ?>" class="blog-post">
|
||||
<h3><?= $entry['title'] ?></h3>
|
||||
<p><?= $entry['summary'] ?></p>
|
||||
<div><?= $entry['date'] ?></div>
|
||||
|
Reference in New Issue
Block a user