Add pageBegin and pageEnd hooks to blogx
This commit is contained in:
parent
70033e84f1
commit
bf69f8bd3b
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
||||
<!-- Load Bludit Plugins: Page End -->
|
||||
<?php Theme::plugins('pageEnd'); ?>
|
||||
|
||||
</div>
|
Loading…
Reference in New Issue