Add pageBegin and pageEnd hooks to blogx

This commit is contained in:
Anaggh S 2018-03-10 21:33:40 +05:30
parent 70033e84f1
commit bf69f8bd3b
2 changed files with 15 additions and 1 deletions

View File

@ -3,6 +3,9 @@
<!-- Post -->
<div class="card my-5 border-0">
<!-- Load Bludit Plugins: Page Begin -->
<?php Theme::plugins('pageBegin'); ?>
<!-- Cover image -->
<?php if ($page->coverImage()): ?>
<img class="card-img-top mb-3 rounded-0" alt="Cover Image" src="<?php echo $page->coverImage(); ?>"/>
@ -24,8 +27,12 @@
<?php if ($page->readMore()): ?>
<a href="<?php echo $page->permalink(); ?>">Read more</a>
<?php endif ?>
</div>
<!-- Load Bludit Plugins: Page End -->
<?php Theme::plugins('pageEnd'); ?>
</div>
<hr>

View File

@ -1,6 +1,9 @@
<!-- Post -->
<div class="card my-5 border-0">
<!-- Load Bludit Plugins: Page Begin -->
<?php Theme::plugins('pageBegin'); ?>
<!-- Cover image -->
<?php if ($page->coverImage()): ?>
<img class="card-img-top mb-3 rounded-0" alt="Cover Image" src="<?php echo $page->coverImage(); ?>"/>
@ -19,6 +22,10 @@
<!-- Full content -->
<?php echo $page->content(); ?>
</div>
</div>
<!-- Load Bludit Plugins: Page End -->
<?php Theme::plugins('pageEnd'); ?>
</div>