<section id="pix_widget_tongji-2" class="widget pix_widget_tongji">
    <div class="wid_title" th:text="${theme.config.sidebar.pix_widget_tongji.title}">站点统计</div>
    <ul class="items wid_tongji" th:with="stats = ${siteStatsFinder.getStats()}">
        <li class="wid_tongji_item" th:if="${theme.config.sidebar.pix_widget_tongji.posts_count}"><span>文章</span><small>[[${stats.post}]]</small></li>
        <li class="wid_tongji_item" th:if="${theme.config.sidebar.pix_widget_tongji.moments_count && pluginFinder.available('PluginMoments')}"><span>片刻</span><small>[[${momentFinder.listAll().size}]]</small></li>
        <li class="wid_tongji_item" th:if="${theme.config.sidebar.pix_widget_tongji.comments_count}"><span>留言</span><small>[[${stats.comment}]]</small></li>
        <li class="wid_tongji_item" th:if="${theme.config.sidebar.pix_widget_tongji.tags_count}"><span>标签</span><small>[[${tagFinder.listAll().size}]]</small></li>
        <li class="wid_tongji_item" th:if="${theme.config.sidebar.pix_widget_tongji.cat_count}"><span>分类</span><small>[[${stats.category}]]</small></li>
        <li class="wid_tongji_item" th:if="${theme.config.sidebar.pix_widget_tongji.site_day}"><span>运营</span><small id="runtimeshow" th:text="${theme.config.sidebar.pix_widget_tongji.build_date}">0天</small></li>
    </ul>
</section>