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

Improved the PV fetching experience.

This commit is contained in:
Cotes Chung
2020-04-01 20:33:49 +08:00
parent 9f6173231b
commit 1ce1455ce2
9 changed files with 155 additions and 38 deletions

View File

@@ -28,7 +28,7 @@ layout: page
<i class="unloaded">{{ post.date | date_to_xmlschema }}</i>
</span>
<!-- page views -->
{% if site.google_analytics.pv %}
{% if site.google_analytics.pv.enabled %}
<i class="far fa-eye fa-fw"></i>
<span id="pv_{{-post.title-}}" class="pageviews">
<i class="fas fa-spinner fa-spin fa-fw"></i>