[SITE] blogposts with image gallery (masonry)
This commit is contained in:
parent
6c12449993
commit
9b562aace6
|
@ -18,6 +18,12 @@ fields:
|
|||
text:
|
||||
label: Text
|
||||
type: textarea
|
||||
en_masonry:
|
||||
text: enable masonry
|
||||
type: checkbox
|
||||
text2:
|
||||
label: Text below masonry
|
||||
type: textarea
|
||||
meta-robots:
|
||||
label: Metatag robots
|
||||
type: text
|
||||
|
|
|
@ -37,6 +37,10 @@ snippet('base/cont-header');
|
|||
</div>
|
||||
<?php echo $page->text()->kirbytext(); ?>
|
||||
|
||||
<?php if ($page->en_masonry()->bool()) : echo snippet('plg/plg-masonry-sb', array('currentPage'=>$page)) ; endif;?>
|
||||
|
||||
<?php echo $page->text2()->kirbytext(); ?>
|
||||
|
||||
<div class="meta bottom">
|
||||
<time datetime="<?php echo $page->date('Y-m-d') ?>"><?php echo $page->date('d. M. Y') ?></time>
|
||||
<?php echo tags($base_url, $page); ?>
|
||||
|
@ -61,4 +65,4 @@ snippet('base/cont-header');
|
|||
</main>
|
||||
|
||||
<?php snippet('base/cont-footer') ?>
|
||||
<?php snippet('base/html-end', []) ?>
|
||||
<?php snippet('base/html-end', ["plg_masonry"=>1]) ?>
|
||||
|
|
|
@ -24,6 +24,4 @@ snippet('base/cont-header');
|
|||
</main>
|
||||
|
||||
<?php snippet('base/cont-footer') ?>
|
||||
<?php snippet('base/html-end', ["bs_util"=>1,
|
||||
"bs_carousel"=>0,
|
||||
"plg_masonry"=>1]) ?>
|
||||
<?php snippet('base/html-end', ["plg_masonry"=>1]) ?>
|
||||
|
|
Loading…
Reference in a new issue