chore: remove unused quote block, adjust snippet formatting in blockpage template

This commit is contained in:
2025-07-09 16:18:56 +02:00
parent 0080db66f5
commit 5a83eaf85f
2 changed files with 2 additions and 6 deletions
-1
View File
@@ -10,7 +10,6 @@ fields:
- image - image
- line - line
- gallery - gallery
- quote
- type: fen - type: fen
label: FEN-Diagramm label: FEN-Diagramm
preview: fields preview: fields
+2 -5
View File
@@ -1,5 +1,4 @@
<?php <?php
// FEN in Array umwandeln // FEN in Array umwandeln
function fenToBoard($fen) { function fenToBoard($fen) {
$rows = explode('/', explode(' ', $fen)[0]); $rows = explode('/', explode(' ', $fen)[0]);
@@ -22,10 +21,8 @@ function fenToBoard($fen) {
return $board; return $board;
}?> }?>
<?php <?php snippet('layout', slots: true) ?>
snippet('layout', slots: true) ?>
<div class="blockpage"> <div class="blockpage">
<?= $page->blocks()->toBlocks() ?> <?= $page->blocks()->toBlocks() ?>
</div> </div>
<?php <?php endsnippet() ?>
endsnippet() ?>