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

34 lines
923 B
PHP
Raw Normal View History

2018-01-28 00:55:19 +01:00
<section class="page mt-5">
<div class="container">
2018-01-27 20:34:26 +01:00
<div class="row">
<div class="col-lg-8 mx-auto">
2018-01-28 23:33:50 +01:00
<!-- Load Bludit Plugins: Page Begin -->
<?php Theme::plugins('pageBegin'); ?>
2018-01-27 20:34:26 +01:00
<!-- Page title -->
<h1 class="page-title"><?php echo $page->title() ?></h1>
2018-01-28 00:55:19 +01:00
<!-- Page description
2018-01-27 20:34:26 +01:00
<?php if ($page->description()): ?>
<p class="page-description"><?php echo $page->description() ?></p>
<?php endif ?>
2018-01-28 00:55:19 +01:00
-->
2018-01-27 20:34:26 +01:00
<!-- Page cover image -->
<?php if ($page->coverImage()): ?>
<div class="page-cover-image py-6 mb-4" style="background-image: url('<?php echo $page->coverImage() ?>');">
<div style="height: 300px;"></div>
</div>
<?php endif ?>
2018-01-27 20:34:26 +01:00
<!-- Page content -->
<div class="page-content">
<?php echo $page->content() ?>
</div>
2018-01-28 23:33:50 +01:00
<!-- Load Bludit Plugins: Page End -->
<?php Theme::plugins('pageEnd'); ?>
2018-01-27 20:34:26 +01:00
</div>
</div>
</div>
</section>