Addition of text/extract

This commit is contained in:
Edi 2017-11-04 14:07:15 +01:00 committed by GitHub
parent 28f44d0fdc
commit 44d95e66c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 23 additions and 9 deletions

View File

@ -5,15 +5,23 @@
<div class="content"> <div class="content">
<header> <header>
<h1><?php echo $firstPage->title() ?></h1> <h1><?php echo $firstPage->title() ?></h1>
</header> <p><?php echo $firstPage->description() ?></p>
<p><?php echo $firstPage->description() ?></p> </header>
<ul class="actions">
<li><a href="<?php echo $firstPage->permalink() ?>" class="button big">Learn More</a></li> <p><?php echo $Page->content(false) ?></p>
</ul>
<!-- 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 } ?>
</div> </div>
<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 -->
@ -23,10 +31,16 @@
<article> <article>
<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->description() ?></p>
<ul class="actions"> <p><?php echo $Page->content(false) ?></p>
<li><a href="<?php echo $page->permalink() ?>" class="button">More</a></li>
</ul> <!-- 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> </article>
<?php endforeach ?> <?php endforeach ?>
</div> </div>