1
0
Fork 0

[FIX, SITE] add option to toggle masony at project level

This commit is contained in:
Jannik Beyerstedt 2017-06-08 10:29:04 +02:00
parent af9b9ff262
commit 836ab53dd0
4 changed files with 5 additions and 3 deletions

View file

@ -16,7 +16,7 @@ snippet('base/cont-header');
<?php echo $page->text()->kirbytext(); ?>
</div>
<?php echo snippet('plg/plg-masonry-sb', array('currentPage'=>$page)) ; ?>
<?php if($page->en_masonry() == '1') echo snippet('plg/plg-masonry-sb', array('currentPage'=>$page)); ?>
<div class="container">
<?php echo $page->text2()->kirbytext(); ?>