mirror of
https://github.com/jkjoy/typecho-theme-farallon.git
synced 2026-06-27 20:34:30 +00:00
增加判断是否在文章页面显示作者信息
This commit is contained in:
@@ -12,9 +12,7 @@ if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?>
|
||||
<?php Typecho_Widget::widget('Widget_Stat')->to($quantity); ?>
|
||||
<h2 class="archive--title__year">共包含 <?php $quantity->publishedPostsNum(); ?> 篇文章</h2>
|
||||
</header>
|
||||
|
||||
<div data-target="<?php $this->options->postLinkOpen(); ?>" class="page--archive" >
|
||||
|
||||
<?php
|
||||
$stat = Typecho_Widget::widget('Widget_Stat');
|
||||
Typecho_Widget::widget('Widget_Contents_Post_Recent', 'pageSize=' . $stat->publishedPostsNum)->to($archives);
|
||||
@@ -44,8 +42,6 @@ $output .= '<li class="archive--item"><div class="archive--title"><a href="' . $
|
||||
$output .= ' </ul></div></div>';
|
||||
echo $output;?>
|
||||
</div>
|
||||
|
||||
|
||||
</main>
|
||||
<?php $this->need('footer.php'); ?>
|
||||
|
||||
Reference in New Issue
Block a user