增加判断是否在文章页面显示作者信息

This commit is contained in:
浪子
2024-05-17 18:42:35 +08:00
parent 965dd0fc7f
commit b221c3d9ab
9 changed files with 12 additions and 27 deletions
+3 -3
View File
@@ -60,9 +60,9 @@
<?php $this->tags(' ', true, ' '); ?>
</div>
<!-- 个人信息-->
<?php if($this->fields->switchpf && in_array('open', $this->fields->switchpf)): ?>
<?php $this->need('profile.php'); ?>
<?php endif; ?>
<?php if ($this->options->showProfile): ?>
<?php $this->need('profile.php'); ?>
<?php endif; ?>
<!--翻页-->
<nav class="navigation post-navigation is-active">
<div class="nav-links">