1
0
mirror of https://github.com/cotes2020/jekyll-theme-chirpy.git synced 2025-12-18 21:53:26 +00:00

Delay GA loading

This commit is contained in:
Cotes Chung
2020-12-10 23:57:00 +08:00
parent cdaa79cf80
commit 63f57fbc12
3 changed files with 14 additions and 10 deletions

View File

@@ -25,4 +25,10 @@
{% if jekyll.environment == 'production' %}
<!-- PWA -->
<script defer src="{{ '/app.js' | relative_url }}"></script>
<!-- GA -->
{% if site.google_analytics.id %}
{% include google-analytics.html %}
{% endif %}
{% endif %}