diff --git a/docs/_includes/google-analytics.html b/docs/_includes/google-analytics.html
index 5794cd9..0230f68 100644
--- a/docs/_includes/google-analytics.html
+++ b/docs/_includes/google-analytics.html
@@ -1,5 +1,5 @@
-
+
+{%- endfor -%}
+{%- else -%}
+
+
+
+{%- endif -%}
+
+{%- if jekyll.environment == 'production' and site.google_analytics -%}
+{% include google-analytics.html %}
+{%- endif %}
+
+{% if site.mathjax == true or site.mathjax.enable == true %}
+
+{% capture mathjaxjs %}https://cdn.jsdelivr.net/npm/mathjax@3/es5/{{ site.mathjax.combo | default: "tex-svg" }}.js{%
+endcapture %}
+
+
+
+{% endif %}
+
+{%- if page.layout == "search" -%}
+{% include lunr-search-scripts.html %}
+{%- endif -%}
\ No newline at end of file