diff --git a/layout/_macro/post.swig b/layout/_macro/post.swig index e777151812..cfb32016be 100644 --- a/layout/_macro/post.swig +++ b/layout/_macro/post.swig @@ -125,12 +125,12 @@ {%- endif %} {%- if not is_index and theme.busuanzi_count.enable and theme.busuanzi_count.post_views %} - + {%- endif %} diff --git a/layout/_partials/analytics/busuanzi-counter.swig b/layout/_partials/analytics/busuanzi-counter.swig index c3ca3a0a9b..38e1e89ae7 100644 --- a/layout/_partials/analytics/busuanzi-counter.swig +++ b/layout/_partials/analytics/busuanzi-counter.swig @@ -3,11 +3,13 @@ {%- if theme.busuanzi_count.total_visitors %} - - - + {%- endif %} @@ -16,11 +18,13 @@ {%- endif %} {%- if theme.busuanzi_count.total_views %} - - - + {%- endif %}