Fixed the PV cache.
This commit is contained in:
11
assets/js/data/pv-cache.js
Normal file
11
assets/js/data/pv-cache.js
Normal file
@@ -0,0 +1,11 @@
|
||||
---
|
||||
layout: compress
|
||||
---
|
||||
|
||||
{%- capture pv_data -%}
|
||||
{%- if site.google_analytics.pv.cache and site.google_analytics.pv.enabled -%}
|
||||
{% include_relative _pageviews.json %}
|
||||
{%- endif -%}
|
||||
{%- endcapture -%}
|
||||
|
||||
const pageviews = '{{ pv_data }}';
|
||||
Reference in New Issue
Block a user