From af59549ef745c590eb4ea90e7b1c159be67f144f Mon Sep 17 00:00:00 2001 From: Tobias Feigel Date: Sat, 28 Jun 2025 18:37:26 +0200 Subject: [PATCH] fix: wrap hero button in conditional to prevent rendering when empty --- site/snippets/titel.php | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/site/snippets/titel.php b/site/snippets/titel.php index 05a4ba9..4b8fa5b 100644 --- a/site/snippets/titel.php +++ b/site/snippets/titel.php @@ -6,8 +6,17 @@

heroText() ?>

- + + heroButton()->isNotEmpty()): ?> + + +