diff --git a/robots.txt b/robots.txt index d261747..736cd0f 100644 --- a/robots.txt +++ b/robots.txt @@ -2,7 +2,6 @@ User-agent: * Disallow: /kirby/ Disallow: /panel/ Disallow: /site/ -Disallow: /thumbs/ Disallow: /error/ diff --git a/site/blueprints/project.yml b/site/blueprints/project.yml index 6e00dc6..2ae5d01 100644 --- a/site/blueprints/project.yml +++ b/site/blueprints/project.yml @@ -20,6 +20,9 @@ fields: text: label: Text type: textarea + en_masonry: + type: checkbox + text: Enable masonry text2: label: Text below masonry type: textarea diff --git a/site/templates/project.php b/site/templates/project.php index 4a86f89..ef0ce25 100644 --- a/site/templates/project.php +++ b/site/templates/project.php @@ -16,7 +16,7 @@ snippet('base/cont-header'); text()->kirbytext(); ?> - $page)) ; ?> + en_masonry() == '1') echo snippet('plg/plg-masonry-sb', array('currentPage'=>$page)); ?>