Files
HMCL-docs/theme/minimal-mistakes/_includes/analytics.html
T
2026-11-02 17:06:03 +08:00

16 lines
541 B
HTML

{% if jekyll.environment == 'production' and site.analytics.provider and page.analytics != false %}
{% case site.analytics.provider %}
{% when "google" %}
{% include /analytics-providers/google.html %}
{% when "google-universal" %}
{% include /analytics-providers/google-universal.html %}
{% when "google-gtag" %}
{% include /analytics-providers/google-gtag.html %}
{% when "swetrix" %}
{% include /analytics-providers/swetrix.html %}
{% when "custom" %}
{% include /analytics-providers/custom.html %}
{% endcase %}
{% endif %}