summaryrefslogtreecommitdiff
path: root/_includes/analytics.html
diff options
context:
space:
mode:
Diffstat (limited to '_includes/analytics.html')
-rw-r--r--_includes/analytics.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/_includes/analytics.html b/_includes/analytics.html
new file mode 100644
index 0000000..46ba91d
--- /dev/null
+++ b/_includes/analytics.html
@@ -0,0 +1,7 @@
+{%- if jekyll.environment != 'development' -%}
+ {%- if site.analytics.provider == 'google' -%}
+ {%- include analytics-providers/google.html -%}
+ {%- elsif site.analytics.provider == 'custom' -%}
+ {%- include analytics-providers/custom.html -%}
+ {%- endif -%}
+{%- endif -%}