commit
5a50efb195
|
@ -5,15 +5,23 @@
|
|||
<div class="content">
|
||||
<header>
|
||||
<h1><?php echo $firstPage->title() ?></h1>
|
||||
</header>
|
||||
<p><?php echo $firstPage->description() ?></p>
|
||||
</header>
|
||||
|
||||
<p><?php echo $Page->content(false) ?></p>
|
||||
|
||||
<!-- Read more button -->
|
||||
<?php if($Page->readMore()) { ?>
|
||||
<ul class="actions">
|
||||
<li><a href="<?php echo $firstPage->permalink() ?>" class="button big">Learn More</a></li>
|
||||
<li><a href="<?php echo $Page->permalink() ?>" class="button"><?php $Language->p('Learn More') ?></a></li>
|
||||
</ul>
|
||||
<?php } ?>
|
||||
|
||||
</div>
|
||||
<span class="image object">
|
||||
<img src="<?php echo $firstPage->coverImage() ?>" alt="" />
|
||||
</span>
|
||||
|
||||
</section>
|
||||
|
||||
<!-- Section -->
|
||||
|
@ -23,10 +31,16 @@
|
|||
<article>
|
||||
<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->description() ?></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">More</a></li>
|
||||
<li><a href="<?php echo $Page->permalink() ?>" class="button"><?php $Language->p('More') ?></a></li>
|
||||
</ul>
|
||||
<?php } ?>
|
||||
|
||||
</article>
|
||||
<?php endforeach ?>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue