web/assets/js/data/pv-data.js

9 lines
302 B
JavaScript
Raw Normal View History

2020-04-01 15:33:49 +03: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 -%}
{% include_relative data/_pageviews.json %}
2020-04-01 15:33:49 +03:00
{%- endif -%}
{%- endcapture -%}
const pageviews = '{{ pv_data }}';