Merge pull request #664 from anaggh/master
Add pageBegin and pageEnd hooks to blogx
This commit is contained in:
commit
2df30d12b0
|
@ -3,6 +3,9 @@
|
||||||
<!-- Post -->
|
<!-- Post -->
|
||||||
<div class="card my-5 border-0">
|
<div class="card my-5 border-0">
|
||||||
|
|
||||||
|
<!-- Load Bludit Plugins: Page Begin -->
|
||||||
|
<?php Theme::plugins('pageBegin'); ?>
|
||||||
|
|
||||||
<!-- Cover image -->
|
<!-- Cover image -->
|
||||||
<?php if ($page->coverImage()): ?>
|
<?php if ($page->coverImage()): ?>
|
||||||
<img class="card-img-top mb-3 rounded-0" alt="Cover Image" src="<?php echo $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()): ?>
|
<?php if ($page->readMore()): ?>
|
||||||
<a href="<?php echo $page->permalink(); ?>">Read more</a>
|
<a href="<?php echo $page->permalink(); ?>">Read more</a>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<!-- Load Bludit Plugins: Page End -->
|
||||||
|
<?php Theme::plugins('pageEnd'); ?>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
<!-- Post -->
|
<!-- Post -->
|
||||||
<div class="card my-5 border-0">
|
<div class="card my-5 border-0">
|
||||||
|
|
||||||
|
<!-- Load Bludit Plugins: Page Begin -->
|
||||||
|
<?php Theme::plugins('pageBegin'); ?>
|
||||||
|
|
||||||
<!-- Cover image -->
|
<!-- Cover image -->
|
||||||
<?php if ($page->coverImage()): ?>
|
<?php if ($page->coverImage()): ?>
|
||||||
<img class="card-img-top mb-3 rounded-0" alt="Cover Image" src="<?php echo $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 -->
|
<!-- Full content -->
|
||||||
<?php echo $page->content(); ?>
|
<?php echo $page->content(); ?>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<!-- Load Bludit Plugins: Page End -->
|
||||||
|
<?php Theme::plugins('pageEnd'); ?>
|
||||||
|
|
||||||
</div>
|
</div>
|
Loading…
Reference in New Issue