rename isArchiveMode to isBlockMode with inverted logic
Toggle now controls block mode (on = blocks, off = legacy text). Update both blueprint conditions and front template to use isBlockMode. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
3591af16e4
commit
e4a04cd127
2 changed files with 7 additions and 6 deletions
|
|
@ -33,7 +33,7 @@
|
|||
<?php endif ?>
|
||||
<?php if ($page->isHtmlMode()->isTrue()): ?>
|
||||
<?= $page->htmlBody()->kt() ?>
|
||||
<?php elseif ($page->bodyBlocks()->isNotEmpty()): ?>
|
||||
<?php elseif ($page->isBlockMode()->isTrue()): ?>
|
||||
<?= $page->bodyWithAnchors() ?>
|
||||
<?php else: ?>
|
||||
<?= $page->body() ?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue