web/assets/data/pv-data.json

13 lines
307 B
JSON
Raw Normal View History

2020-04-01 20:33:49 +08:00
---
---
const proxyData = '{"url": "{{ site.google_analytics.pv.proxy_endpoint }}"}';
{%- capture pv_data -%}
{%- if site.google_analytics.pv.cache and site.google_analytics.pv.enabled -%}
2020-04-20 05:39:12 +08:00
{% include_relative _pageviews.json %}
2020-04-01 20:33:49 +08:00
{%- endif -%}
{%- endcapture -%}
const pageviews = '{{ pv_data }}';