diff --git a/layout/includes/header/post-info.pug b/layout/includes/header/post-info.pug index 0b11b61..1edae72 100644 --- a/layout/includes/header/post-info.pug +++ b/layout/includes/header/post-info.pug @@ -53,23 +53,23 @@ span= min2read(page.content, {cn: 350, en: 160}) + _p('post.min2read_unit') //- for pv and count - mixin pvBlock(parent_id,parent_class) + mixin pvBlock(parent_id,parent_class,parent_title) span.post-meta-separator | - span(class=parent_class id=parent_id) + span(class=parent_class id=parent_id data-flag-title=page.title) i.far.fa-eye.fa-fw.post-meta-icon span.post-meta-label=_p('post.page_pv') + ':' if block block if theme.busuanzi.page_pv - +pvBlock('','post-meta-pv-cv') + +pvBlock('','post-meta-pv-cv','') span#busuanzi_value_page_pv else if comments.use && !comments.lazyload if (comments.use.includes('Valine') && theme.valine.visitor) || (comments.use.includes('Waline') && theme.waline.visitor) - +pvBlock(url_for(page.path),'leancloud_visitors') + +pvBlock(url_for(page.path),'leancloud_visitors',page.title) span.leancloud-visitors-count else if (comments.use.includes('Twikoo') && theme.twikoo.visitor) - +pvBlock('','') + +pvBlock('','','') span#twikoo_visitors if comments.count && !comments.lazyload && page.comments !== false && comments.use