1
0
mirror of https://github.com/cotes2020/jekyll-theme-chirpy.git synced 2025-12-18 05:41:31 +00:00

Replace the pageviews with categories on home page

This commit is contained in:
Cotes Chung
2021-12-03 20:50:12 +08:00
parent 57feaa660e
commit 6220d09ffb
2 changed files with 11 additions and 7 deletions

View File

@@ -4,7 +4,7 @@
<!-- layout specified -->
{% if page.layout == 'home' or page.layout == 'post' %}
{% if page.layout == 'post' %}
{% if site.google_analytics.pv.proxy_endpoint or site.google_analytics.pv.cache_path %}
<!-- pv-report needs countup.js -->
<script async src="https://cdn.jsdelivr.net/npm/countup.js@1.9.3/dist/countUp.min.js"></script>