bludit/bl-themes/pure/php/page.php

34 lines
816 B
PHP

<div class="subhead"><?php echo $Language->get('Page') ?></div>
<section class="page">
<!-- Plugins Page Begin -->
<?php Theme::plugins('pageBegin') ?>
<!-- page header -->
<header class="page-header">
<!-- page title -->
<h1 class="page-title">
<a href="<?php echo $Page->permalink() ?>"><?php echo $Page->title() ?></a>
</h1>
</header>
<!-- page content -->
<div class="page-content">
<?php
// Cover Image
if($Page->coverImage()) {
echo '<img class="cover-image" src="'.$Page->coverImage().'" alt="Cover Image">';
}
// Page content
echo $Page->content()
?>
</div>
<!-- Plugins Page Begin -->
<?php Theme::plugins('pageEnd') ?>
</section>