我想在此代码中添加文本以编写网站描述.如果标题为空,则会写入默认说明.如果没有写的话$title.
$title
我想先添加文字 $title
<?php echo isset($title) ? _h($title) : config('blog.description') ?>
目前你会得到:
这个故事的标题
我想要
一篇关于:故事标题的文章
php ternary-operator
php ×1
ternary-operator ×1