Fallback input in blueprint

Is there an way to use setup a text field in the panel that auto fills? or has a fallback if empty?

site title
article title

if no article title, use the site title instead


You can do that in your template:

echo $article->title()->isNotEmpty()? $article->title():$site->title();
1 Like

Thank you that worked like a charm!