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

35 lines
918 B
PHP
Raw Normal View History

2018-02-01 00:34:16 +01:00
<section class="page">
<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 -->
2018-03-05 23:46:52 +01:00
<h1 class="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()): ?>
2018-03-05 23:46:52 +01:00
<p class="page-description"><?php echo $page->description(); ?></p>
2018-01-27 20:34:26 +01:00
<?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()): ?>
2018-03-05 23:46:52 +01:00
<div class="page-cover-image py-6 mb-4" style="background-image: url('<?php echo $page->coverImage(); ?>');">
2018-01-27 20:34:26 +01:00
<div style="height: 300px;"></div>
</div>
<?php endif ?>
2018-01-27 20:34:26 +01:00
<!-- Page content -->
<div class="page-content">
2018-03-05 23:46:52 +01:00
<?php echo $page->content(); ?>
2018-01-27 20:34:26 +01:00
</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>
2018-03-05 23:46:52 +01:00
</section>