video embed

This commit is contained in:
Diego Najar 2017-11-05 15:42:20 +01:00
commit eb93088f87
1 changed files with 21 additions and 8 deletions

View File

@ -5,11 +5,18 @@
<div class="content"> <div class="content">
<header> <header>
<h1><?php echo $firstPage->title() ?></h1> <h1><?php echo $firstPage->title() ?></h1>
<p><?php echo $firstPage->description() ?></p>
</header> </header>
<p><?php echo $firstPage->description() ?></p>
<ul class="actions"> <p><?php echo $page->content(false) ?></p>
<li><a href="<?php echo $firstPage->permalink() ?>" class="button big">Learn More</a></li>
</ul> <!-- Read more button -->
<?php if($firstPage->readMore()) { ?>
<ul class="actions">
<li><a href="<?php echo $firstPage->permalink() ?>" class="button"><?php $Language->p('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="" />
@ -23,10 +30,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>