1
0
mirror of https://github.com/thangisme/notes.git synced 2024-11-13 01:16:03 -05:00

CF Analytics is now optional

This commit is contained in:
Quang Thắng 2020-12-15 20:30:52 +07:00 committed by GitHub
parent 7b121af72e
commit 2187762d71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,9 @@
{%- if site.footer_content -%}
<p class="text-small text-grey-dk-100 mb-0">{{ site.footer_content }}</p>
<!-- Cloudflare Web Analytics --><script defer src='https://static.cloudflareinsights.com/beacon.min.js' data-cf-beacon='{"token": "a3bc8207481e41caad5cb16558187c6b"}'></script><!-- End Cloudflare Web Analytics -->
{% if site.cf_tracking != nil %}
<p class="text-small text-grey-dk-100 mb-0">{{ site.footer_content }}</p>
<!-- Cloudflare Web Analytics -->
<script defer src='https://static.cloudflareinsights.com/beacon.min.js' data-cf-beacon='{"token": "{{ site.cf_tracking }}"}'>
</script>
<!-- End Cloudflare Web Analytics -->
{% endif %}
{%- endif -%}