bludit/bl-themes/future-imperfect/php/page.php

27 lines
658 B
PHP
Raw Normal View History

2016-01-19 04:01:08 +01:00
<article class="post">
<!-- Plugins Page Begin -->
<?php Theme::plugins('pageBegin') ?>
<!-- Post's header -->
<header>
<div class="title">
<h2><a href="<?php echo $Page->permalink() ?>"><?php echo $Page->title() ?></a></h2>
<p><?php echo $Page->description() ?></p>
</div>
</header>
2016-01-21 03:42:15 +01:00
<!-- Cover Image -->
<?php
if($Page->coverImage()) {
echo '<a href="'.$Page->permalink().'" class="image featured"><img src="'.$Page->coverImage().'" alt="Cover Image"></a>';
}
?>
2016-01-19 04:01:08 +01:00
<!-- Post's content, the first part if has pagebrake -->
<?php echo $Page->content() ?>
<!-- Plugins Page End -->
<?php Theme::plugins('pageEnd') ?>
2016-01-21 03:42:15 +01:00
</article>