在你next主題的layout檔案裡有一個_layout.swig檔案
{% include "_partials/footer.swig" %}
{% include "_scripts/third-party/analytics/busuanzi-counter.swig" %}
{% block footer %}{% endblock %}
看到這部分中間的{% include "_scripts/third-party/analytics/busuanzi-counter.swig" %}就是用於顯示統計的樣式和位置,你把這部分在你next主題的layout檔案裡有一個_layout.swig檔案{% include "_partials/footer.swig" %} {% include "_scripts/third-party/analytics/busuanzi-counter.swig" %} {% block footer %}{% endblock %}
看到這部分中間的程式碼就是用於顯示統計的樣式和位置,你把這部分放到你想要的頭部導航的標籤裡也是在這個檔案裡(_layout.swig)
在你next主題的layout檔案裡有一個_layout.swig檔案
{% include "_partials/footer.swig" %}
{% include "_scripts/third-party/analytics/busuanzi-counter.swig" %}
{% block footer %}{% endblock %}
看到這部分中間的{% include "_scripts/third-party/analytics/busuanzi-counter.swig" %}就是用於顯示統計的樣式和位置,你把這部分在你next主題的layout檔案裡有一個_layout.swig檔案{% include "_partials/footer.swig" %} {% include "_scripts/third-party/analytics/busuanzi-counter.swig" %} {% block footer %}{% endblock %}
看到這部分中間的程式碼就是用於顯示統計的樣式和位置,你把這部分放到你想要的頭部導航的標籤裡也是在這個檔案裡(_layout.swig)