We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1ec165c commit 6b51d33Copy full SHA for 6b51d33
component/post.content.php
@@ -1,7 +1,7 @@
1
<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?>
2
<section class="article-info">
3
<div class="article-cover-inner">
4
- <img src="<?= $this->fields->banner()?: utils::indexTheme('assets/img/default.jpg') ?>" alt="cover">
+ <img src="<?= $this->fields->banner?: utils::indexTheme('assets/img/default.jpg') ?>" alt="cover">
5
<h1 class="article-title">
6
<?php if ($this->user->hasLogin()): ?>
7
<a class="article-edit" title="编辑"
0 commit comments