removes more unwanted blocks

This commit is contained in:
buttle 2021-05-17 19:34:13 +02:00
parent 0d865d84f2
commit 27be85cf29
2 changed files with 3 additions and 1 deletions

View File

@ -41,6 +41,8 @@ $form->prepare();
<h3><?php echo $translate('Add new block'); ?></h3>
<?php foreach ($this->blockLayout()->getLayouts() as $layout): ?>
<?php if ($layout == "html") { continue; } ?>
<?php if ($layout == "tableOfContents") { continue; } ?>
<?php if ($layout == "searchingForm") { continue; } ?>
<button type="button" value="<?php echo $escape($layout); ?>" class="option">
<?php echo $escape($translate($this->blockLayout()->getLayoutLabel($layout))); ?>
</button>

View File

@ -25,7 +25,7 @@ if ($img_src) {
</style>
<?php } ?>
<?= $page->id(); ?>
<?php /* echo $page->id(); */ ?>
<?php
$nav = $site->publicNav();