diff --git a/_config.yml b/_config.yml index 79e2961cd..0fbf4671a 100755 --- a/_config.yml +++ b/_config.yml @@ -212,7 +212,7 @@ auto_excerpt: #description: ex. subscribe to my blog by scanning my public wechat account - + # --------------------------------------------------------------- # Third Party Services Settings @@ -288,6 +288,9 @@ leancloud_visitors: app_id: # app_key: # +# Busuanzi page views http://busuanzi.ibruce.info/ +busuanzi: + enable: true # Tencent analytics ID # tencent_analytics: diff --git a/layout/_macro/post.swig b/layout/_macro/post.swig index c09bd9a9d..b50d3b84d 100644 --- a/layout/_macro/post.swig +++ b/layout/_macro/post.swig @@ -115,6 +115,13 @@ {% endif %} + {# busuanzi PageView #} + {% if theme.busuanzi.enable %} + +   |   +   Views + {% endif %} + {% endif %} @@ -177,7 +184,7 @@ {{ post.content }} {% endif %} - +
{% if ! is_index %} {% include 'wechat-subscriber.swig' %}