chore: remove unused quote block, adjust snippet formatting in blockpage template
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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() ?>
|
|
||||||
Reference in New Issue
Block a user