diff --git a/docs/layouts/partials/drawer.html b/docs/layouts/partials/drawer.html
index a34ac33d8..c09e39de9 100755
--- a/docs/layouts/partials/drawer.html
+++ b/docs/layouts/partials/drawer.html
@@ -21,12 +21,12 @@
{{ if (eq (trim .Site.Params.provider " " | lower) "github") | and (isset .Site.Params "repo_url") }}
-
{{ end }}
diff --git a/docs/layouts/partials/footer.html b/docs/layouts/partials/footer.html
deleted file mode 100755
index c0017542f..000000000
--- a/docs/layouts/partials/footer.html
+++ /dev/null
@@ -1,74 +0,0 @@
-{{ if .IsPage }}
-{{ if .Prev | or .Next }}
-
-{{ end }}
-{{ end }}
-
-{{ if .IsHome }}
-{{ if gt (len .Site.Pages) 2 }}
-
-{{ end }}
-{{ end }}
diff --git a/docs/layouts/partials/footer_js.html b/docs/layouts/partials/footer_js.html
index 3a7df4270..8087fb6e7 100755
--- a/docs/layouts/partials/footer_js.html
+++ b/docs/layouts/partials/footer_js.html
@@ -43,7 +43,7 @@
{{ "/* Add permanent link next to the headers */" | safeJS }}
var headers = document.querySelectorAll("h1, h2, h3, h4, h5, h6");
- for(i = 0; i < headers.length; i++) {
+ for(var i = 0; i < headers.length; i++) {
var a = document.createElement("a");
a.setAttribute("class", "headerlink");
a.setAttribute("href", "#" + headers[i].id);
diff --git a/docs/layouts/partials/header.html b/docs/layouts/partials/header.html
index ac3214b2b..3929a8ee3 100755
--- a/docs/layouts/partials/header.html
+++ b/docs/layouts/partials/header.html
@@ -7,7 +7,7 @@