typesetting olivain porry

This commit is contained in:
Julie Blanc 2026-04-11 18:57:03 +02:00
parent eea67d2c7c
commit fc85403e3a
56 changed files with 141 additions and 43 deletions

View file

@ -6,7 +6,7 @@ $caption = $block->caption();
$src = $block->image()->toFile()->url();
$GLOBALS['figCount'] = ($GLOBALS['figCount'] ?? 0) + 1;
$figId = 'fig-' . Str::slug($block->parent()->author()) . '-' . $GLOBALS['figCount'];
$figId = 'fig-' . Str::slug($block->parent()?->author() ?? '') . '-' . $GLOBALS['figCount'];
?>