diff --git a/site/blueprints/blogarticle.yml b/site/blueprints/blogarticle.yml index 1d9f660..1cafc14 100644 --- a/site/blueprints/blogarticle.yml +++ b/site/blueprints/blogarticle.yml @@ -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 diff --git a/site/templates/blogarticle.php b/site/templates/blogarticle.php index fc639fc..0a3e8ac 100644 --- a/site/templates/blogarticle.php +++ b/site/templates/blogarticle.php @@ -37,6 +37,10 @@ snippet('base/cont-header'); text()->kirbytext(); ?> + en_masonry()->bool()) : echo snippet('plg/plg-masonry-sb', array('currentPage'=>$page)) ; endif;?> + + text2()->kirbytext(); ?> +