Update home.php
This commit is contained in:
parent
5a50efb195
commit
e0cab4d86a
|
@ -8,12 +8,12 @@
|
||||||
<p><?php echo $firstPage->description() ?></p>
|
<p><?php echo $firstPage->description() ?></p>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<p><?php echo $Page->content(false) ?></p>
|
<p><?php echo $page->content(false) ?></p>
|
||||||
|
|
||||||
<!-- Read more button -->
|
<!-- Read more button -->
|
||||||
<?php if($Page->readMore()) { ?>
|
<?php if($page->readMore()) { ?>
|
||||||
<ul class="actions">
|
<ul class="actions">
|
||||||
<li><a href="<?php echo $Page->permalink() ?>" class="button"><?php $Language->p('Learn More') ?></a></li>
|
<li><a href="<?php echo $page->permalink() ?>" class="button"><?php $Language->p('More') ?></a></li>
|
||||||
</ul>
|
</ul>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|
||||||
|
@ -21,7 +21,6 @@
|
||||||
<span class="image object">
|
<span class="image object">
|
||||||
<img src="<?php echo $firstPage->coverImage() ?>" alt="" />
|
<img src="<?php echo $firstPage->coverImage() ?>" alt="" />
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<!-- Section -->
|
<!-- Section -->
|
||||||
|
@ -32,12 +31,12 @@
|
||||||
<a href="<?php echo $page->permalink() ?>" class="image"><img src="<?php echo $page->coverImage() ?>" alt="" /></a>
|
<a href="<?php echo $page->permalink() ?>" class="image"><img src="<?php echo $page->coverImage() ?>" alt="" /></a>
|
||||||
<h3><?php echo $page->title() ?></h3>
|
<h3><?php echo $page->title() ?></h3>
|
||||||
|
|
||||||
<p><?php echo $Page->content(false) ?></p>
|
<p><?php echo $page->content(false) ?></p>
|
||||||
|
|
||||||
<!-- Read more button -->
|
<!-- Read more button -->
|
||||||
<?php if($Page->readMore()) { ?>
|
<?php if($page->readMore()) { ?>
|
||||||
<ul class="actions">
|
<ul class="actions">
|
||||||
<li><a href="<?php echo $Page->permalink() ?>" class="button"><?php $Language->p('More') ?></a></li>
|
<li><a href="<?php echo $page->permalink() ?>" class="button"><?php $Language->p('More') ?></a></li>
|
||||||
</ul>
|
</ul>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue