From 71b93fb760c17d5f7b22f47c1b8b50c2b57c2165 Mon Sep 17 00:00:00 2001
From: Karl <kc0bfv@gmail.com>
Date: Sat, 01 Feb 2020 00:26:08 +0000
Subject: [PATCH] Author fixes, add opengraph and twitter cards
---
layouts/partials/foot.html | 37 -------------------------------------
1 files changed, 0 insertions(+), 37 deletions(-)
diff --git a/layouts/partials/foot.html b/layouts/partials/foot.html
index 8195d41..e69de29 100644
--- a/layouts/partials/foot.html
+++ b/layouts/partials/foot.html
@@ -1,37 +0,0 @@
-<script>
- function toggleDisplay( elementID ) {
- elem = document.getElementById(elementID);
- if( elem.style.display == "none" ) {
- elem.style.display = "block";
- } else if( elem.style.display == "block" ) {
- elem.style.display = "none";
- }
- }
- {{ with .Site.Params.headerimages }}
- function randomHeaderImg() {
- images = [
- {{- $last_elem := sub (len .) 1 -}}
- {{ range $index, $component := . -}}
- {{ . | absURL }}{{ if lt $index $last_elem }},{{ end }}
- {{- end -}}
- ];
- i = Math.ceil(Math.random() * images.length) - 1;
- document.getElementById("headerimg").src = images[i];
- }
- window.onload = randomHeaderImg;
- {{ end }}
- {{ with .Params.sideimages }}
- function randomSideAndHeaderImg() {
- randomHeaderImg();
- images = [
- {{- $last_elem := sub (len .) 1 -}}
- {{ range $index, $component := . -}}
- {{ . | absURL }}{{ if lt $index $last_elem }},{{ end }}
- {{- end -}}
- ];
- i = Math.ceil(Math.random() * images.length) - 1;
- document.getElementById("sideimage").src = images[i];
- }
- window.onload = randomSideAndHeaderImg;
- {{ end }}
-</script>
--
Gitblit v1.10.0