summaryrefslogtreecommitdiff
path: root/single.php
diff options
context:
space:
mode:
authorEltrac Koalar <hi@guhub.cn>2022-08-23 13:58:04 +0800
committerEltrac Koalar <hi@guhub.cn>2022-08-23 13:58:04 +0800
commitdd86fbd411a433ad0ec6ecdb820e84528125811f (patch)
tree4f1cbb2ba3e4fb60f51f8cb3fa77a2a3d5881cea /single.php
parent6f192c319fd38960cd863fc8383154e05ae20661 (diff)
:link: Perf: 文章编辑链接在新标签页打开
Diffstat (limited to 'single.php')
-rw-r--r--single.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/single.php b/single.php
index 1105cb0..977fe66 100644
--- a/single.php
+++ b/single.php
@@ -10,7 +10,7 @@
<li><time datetime="<?php $this->date('c'); ?>" itemprop="datePublished"><?php echo Matcha::date($this->created); ?></time></li>
<li><?php $this->category(','); ?></li>
<?php if($this->user->hasLogin()):?>
- <li><a href="<?php $this->options->adminUrl(); ?>write-post.php?cid=<?php echo $this->cid;?>" no-pjax>编辑</a></li>
+ <li><a href="<?php $this->options->adminUrl(); ?>write-post.php?cid=<?php echo $this->cid;?>" target="_blank" no-pjax>编辑</a></li>
<?php endif ?>
</ul>
<?php endif; ?>