diff --git a/_config.yml b/_config.yml
index a627c94274dc..ca85ac3ece37 100644
--- a/_config.yml
+++ b/_config.yml
@@ -168,7 +168,7 @@ fontawesome:
integrity: "sha512-1PKOgIY59xJ8Co8+NE6FZ+LOAZKjy+KY8iq0G4B3CyeY6wYHN3yt9PW0XpSriVlkMXe40PTKnXrLnZ9+fkDaog=="
jquery:
version: "3.5.1"
- integrity: "sha512-/DXTXr6nQodMUiq+IUJYCt2PPOUjrHJ9wFrqpJ3XkgPNOZVfMok7cRw6CSxyCQxXn6ozlESsSh1/sMCTF1rL/g=="
+ integrity: "sha512-bLT0Qm9VnAYZDflyKcBaQ2gg0hSYNQrJ8RilYldYQ1FxQYoCLtUjuuRuZo+fjqhx/qtq/1itJ0C2ejDxltZVFg=="
mathjax:
version: "3.1.2"
mansory:
diff --git a/_includes/head.html b/_includes/head.html
index 02b7a0a725b7..13cb2a51c39d 100644
--- a/_includes/head.html
+++ b/_includes/head.html
@@ -5,25 +5,6 @@
{% if site.title == blank %}{{ site.title }}{% else %}{{ site.first_name }} {{ site.middle_name }} {{ site.last_name }}{% endif %}{% if page.title and page.url != "/" %} | {{ page.title }}{% endif %}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
{% if site.serve_og_meta %}
@@ -34,56 +15,20 @@
{% endif %}
-
-
+
+
+
+
+
+
+
+
-{% if site.enable_math %}
-
-
-
-{% endif %}
-
-{% if site.enable_mansory %}
-
-
-
-
-
-
-{% endif %}
-
-{% if site.enable_tooltips %}
-
-
-{% endif %}
-
-{% if site.enable_google_analytics %}
-
-
-{% endif %}
+
diff --git a/_includes/scripts/bootstrap.html b/_includes/scripts/bootstrap.html
new file mode 100644
index 000000000000..2c5d4ee066da
--- /dev/null
+++ b/_includes/scripts/bootstrap.html
@@ -0,0 +1,4 @@
+
+
+
+
diff --git a/_includes/scripts/jquery.html b/_includes/scripts/jquery.html
new file mode 100644
index 000000000000..8de7788d3e18
--- /dev/null
+++ b/_includes/scripts/jquery.html
@@ -0,0 +1,2 @@
+
+
diff --git a/_includes/scripts/mansory.html b/_includes/scripts/mansory.html
new file mode 100644
index 000000000000..5a93a9eeda31
--- /dev/null
+++ b/_includes/scripts/mansory.html
@@ -0,0 +1,6 @@
+{% if site.enable_mansory %}
+
+
+
+
+{% endif %}
diff --git a/_includes/scripts/mathjax.html b/_includes/scripts/mathjax.html
new file mode 100644
index 000000000000..c8d739295c21
--- /dev/null
+++ b/_includes/scripts/mathjax.html
@@ -0,0 +1,5 @@
+{% if site.enable_math %}
+
+
+
+{% endif %}
diff --git a/_includes/scripts/misc.html b/_includes/scripts/misc.html
new file mode 100644
index 000000000000..aa029678ebe8
--- /dev/null
+++ b/_includes/scripts/misc.html
@@ -0,0 +1,22 @@
+{% if site.enable_tooltips %}
+
+
+{% endif %}
+
+{% if site.enable_google_analytics %}
+
+
+{% endif %}
+
+
+
diff --git a/_layouts/default.html b/_layouts/default.html
index 4487e154a41e..bde7acc429e7 100644
--- a/_layouts/default.html
+++ b/_layouts/default.html
@@ -3,6 +3,7 @@
{% include head.html %}
+ {% include scripts/mathjax.html %}
@@ -23,4 +24,9 @@
+ {% include scripts/jquery.html %}
+ {% include scripts/bootstrap.html %}
+ {% include scripts/mansory.html %}
+ {% include scripts/misc.html %}
+