bludit/bl-themes/kernel-panic/php/page.php

20 lines
966 B
PHP
Raw Normal View History

2017-07-09 22:04:00 +02:00
<!-- Section -->
<section class="content">
<article class="page">
2017-07-29 00:08:19 +02:00
<?php Theme::plugins('pageBegin') ?>
2017-07-09 22:04:00 +02:00
<header>
<a href="<?php echo $page->permalink() ?>">
<h2><?php echo $page->title() ?></h2>
</a>
<?php if( $page->coverImage() ) { ?>
<img src="<?php echo $page->coverImage() ?>" alt="<?php echo $page->slug() ?>">
<?php } ?>
</header>
<?php echo $page->content() ?>
<footer>
2017-07-22 20:06:19 +02:00
<div class="date"><i class="fa fa-clock-o"></i> <?php echo $page->date() ?></div>
2017-07-09 22:04:00 +02:00
</footer>
2017-07-29 00:08:19 +02:00
<?php Theme::plugins('pageEnd') ?>
2017-07-09 22:04:00 +02:00
</article>
</section>