Update home.php

This commit is contained in:
Edi 2017-11-05 14:22:29 +01:00 committed by GitHub
parent 5a50efb195
commit e0cab4d86a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 16 additions and 17 deletions

View File

@ -5,23 +5,22 @@
<div class="content">
<header>
<h1><?php echo $firstPage->title() ?></h1>
<p><?php echo $firstPage->description() ?></p>
</header>
<p><?php echo $firstPage->description() ?></p>
</header>
<p><?php echo $Page->content(false) ?></p>
<p><?php echo $page->content(false) ?></p>
<!-- Read more button -->
<?php if($Page->readMore()) { ?>
<ul class="actions">
<li><a href="<?php echo $Page->permalink() ?>" class="button"><?php $Language->p('Learn More') ?></a></li>
</ul>
<?php } ?>
<!-- Read more button -->
<?php if($page->readMore()) { ?>
<ul class="actions">
<li><a href="<?php echo $page->permalink() ?>" class="button"><?php $Language->p('More') ?></a></li>
</ul>
<?php } ?>
</div>
<span class="image object">
<img src="<?php echo $firstPage->coverImage() ?>" alt="" />
</span>
</section>
<!-- Section -->
@ -32,14 +31,14 @@
<a href="<?php echo $page->permalink() ?>" class="image"><img src="<?php echo $page->coverImage() ?>" alt="" /></a>
<h3><?php echo $page->title() ?></h3>
<p><?php echo $Page->content(false) ?></p>
<p><?php echo $page->content(false) ?></p>
<!-- Read more button -->
<?php if($Page->readMore()) { ?>
<ul class="actions">
<li><a href="<?php echo $Page->permalink() ?>" class="button"><?php $Language->p('More') ?></a></li>
</ul>
<?php } ?>
<!-- Read more button -->
<?php if($page->readMore()) { ?>
<ul class="actions">
<li><a href="<?php echo $page->permalink() ?>" class="button"><?php $Language->p('More') ?></a></li>
</ul>
<?php } ?>
</article>
<?php endforeach ?>