fix(plugin): remove visitor counter from article list (#600)

In article list page, visitor counts for articles is incorrect.
pull/605/head
iMaeGoo 2020-01-15 00:15:27 +08:00 committed by Ruipeng Zhang
parent 296e4589d3
commit 8aba483fa5
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ module.exports = class extends Component {
})()}
</span> : null}
{/* Visitor counter */}
{plugins && plugins.busuanzi === true ? <span class="level-item" id="busuanzi_container_page_pv" dangerouslySetInnerHTML={{
{!index && plugins && plugins.busuanzi === true ? <span class="level-item" id="busuanzi_container_page_pv" dangerouslySetInnerHTML={{
__html: '<i class="far fa-eye"></i>' + _p('plugin.visit', '&nbsp;&nbsp;<span id="busuanzi_value_page_pv">0</span>')
}}></span> : null}
</div>