Fetch upstream #5

Merged
OCram85 merged 20 commits from fetchUpstream into master 2021-08-02 17:02:35 +02:00
4 changed files with 13 additions and 0 deletions
Showing only changes of commit a531737107 - Show all commits

View File

@ -9,6 +9,7 @@
- Added support for Patreon, Medium, and Itch.io in the social network links in the footer (#783, #788) - Added support for Patreon, Medium, and Itch.io in the social network links in the footer (#783, #788)
- Fixed bug where special characters in the title led to broken share tags (#744) - Fixed bug where special characters in the title led to broken share tags (#744)
- Updated staticman from using v2 (public servers) to v3 (private servers) due to the public servers becoming obsolete (#775) - Updated staticman from using v2 (public servers) to v3 (private servers) due to the public servers becoming obsolete (#775)
- Added support for Cloudflare Analytics (#797)
## v5.0.0 (2020-09-15) ## v5.0.0 (2020-09-15)

View File

@ -133,6 +133,9 @@ footer-link-col: "#404040"
# Fill in your Google Analytics ID to track your website using Google Analytics # Fill in your Google Analytics ID to track your website using Google Analytics
#google_analytics: "" #google_analytics: ""
# Fill in your Cloudflare Analytics beacon token to track your website using Cloudflare Analytics
#cloudflare_analytics: ""
# Google Tag Manager ID # Google Tag Manager ID
#gtm: "" #gtm: ""

View File

@ -0,0 +1,8 @@
{% if site.cloudflare_analytics %}
<!-- Cloudflare Web Analytics -->
<script defer
src='https://static.cloudflareinsights.com/beacon.min.js'
data-cf-beacon='{"token": "{{ site.cloudflare_analytics}}"}'>
</script>
<!-- End Cloudflare Web Analytics -->
{% endif %}

View File

@ -44,6 +44,7 @@
{% include gtag.html %} {% include gtag.html %}
{% include gtm_head.html %} {% include gtm_head.html %}
{% include google_analytics.html %} {% include google_analytics.html %}
{% include cloudflare_analytics.html %}
{% if layout.common-ext-css %} {% if layout.common-ext-css %}
{% for css in layout.common-ext-css %} {% for css in layout.common-ext-css %}