From 26289a81ac908d20828ddd0043d3ff16b015b650 Mon Sep 17 00:00:00 2001 From: adityatelange Date: Thu, 17 Sep 2020 09:28:32 +0000 Subject: [PATCH] deploy: db1ec959aab9b610967ac1d48aa798cc7c922e59 --- 404.html | 2 +- archives/index.html | 2 +- categories/index.html | 2 +- categories/syntax/index.html | 2 +- categories/themes/index.html | 2 +- index.html | 2 +- page/2/index.html | 2 +- page/3/index.html | 2 +- series/index.html | 2 +- series/papermod/index.html | 2 +- series/themes-guide/index.html | 2 +- tags/css/index.html | 2 +- tags/emoji/index.html | 2 +- tags/html/index.html | 2 +- tags/index.html | 2 +- tags/markdown/index.html | 2 +- tags/papermod/index.html | 2 +- tags/privacy/index.html | 2 +- tags/shortcodes/index.html | 2 +- tags/text/index.html | 2 +- tags/themes/index.html | 2 +- 21 files changed, 21 insertions(+), 21 deletions(-) diff --git a/404.html b/404.html index f4168c2f..7c3ada05 100644 --- a/404.html +++ b/404.html @@ -4,4 +4,4 @@ · Theme️ PaperMod \ No newline at end of file +document.querySelectorAll('a[href^="#"]').forEach(anchor=>{anchor.addEventListener("click",function(e){e.preventDefault();document.querySelector(this.getAttribute("href")).scrollIntoView({behavior:"smooth"});});});var mybutton=document.getElementById("top-link");window.onscroll=function(){if(document.body.scrollTop>800||document.documentElement.scrollTop>800){mybutton.style.visibility="visible";mybutton.style.opacity="1";}else{mybutton.style.visibility="hidden";mybutton.style.opacity="0";}};function menu_on_scroll(){localStorage.setItem("menu-scroll-position",document.getElementById('menu').scrollLeft);} \ No newline at end of file diff --git a/archives/index.html b/archives/index.html index 48eb07bd..50104402 100644 --- a/archives/index.html +++ b/archives/index.html @@ -20,4 +20,4 @@ · Theme️ PaperMod \ No newline at end of file +document.querySelectorAll('a[href^="#"]').forEach(anchor=>{anchor.addEventListener("click",function(e){e.preventDefault();document.querySelector(this.getAttribute("href")).scrollIntoView({behavior:"smooth"});});});var mybutton=document.getElementById("top-link");window.onscroll=function(){if(document.body.scrollTop>800||document.documentElement.scrollTop>800){mybutton.style.visibility="visible";mybutton.style.opacity="1";}else{mybutton.style.visibility="hidden";mybutton.style.opacity="0";}};function menu_on_scroll(){localStorage.setItem("menu-scroll-position",document.getElementById('menu').scrollLeft);} \ No newline at end of file diff --git a/categories/index.html b/categories/index.html index 5376efef..48e26208 100644 --- a/categories/index.html +++ b/categories/index.html @@ -4,4 +4,4 @@ · Theme️ PaperMod \ No newline at end of file +document.querySelectorAll('a[href^="#"]').forEach(anchor=>{anchor.addEventListener("click",function(e){e.preventDefault();document.querySelector(this.getAttribute("href")).scrollIntoView({behavior:"smooth"});});});var mybutton=document.getElementById("top-link");window.onscroll=function(){if(document.body.scrollTop>800||document.documentElement.scrollTop>800){mybutton.style.visibility="visible";mybutton.style.opacity="1";}else{mybutton.style.visibility="hidden";mybutton.style.opacity="0";}};function menu_on_scroll(){localStorage.setItem("menu-scroll-position",document.getElementById('menu').scrollLeft);} \ No newline at end of file diff --git a/categories/syntax/index.html b/categories/syntax/index.html index 6c3c6cf9..ad8dd817 100644 --- a/categories/syntax/index.html +++ b/categories/syntax/index.html @@ -8,4 +8,4 @@ · Theme️ PaperMod \ No newline at end of file +document.querySelectorAll('a[href^="#"]').forEach(anchor=>{anchor.addEventListener("click",function(e){e.preventDefault();document.querySelector(this.getAttribute("href")).scrollIntoView({behavior:"smooth"});});});var mybutton=document.getElementById("top-link");window.onscroll=function(){if(document.body.scrollTop>800||document.documentElement.scrollTop>800){mybutton.style.visibility="visible";mybutton.style.opacity="1";}else{mybutton.style.visibility="hidden";mybutton.style.opacity="0";}};function menu_on_scroll(){localStorage.setItem("menu-scroll-position",document.getElementById('menu').scrollLeft);} \ No newline at end of file diff --git a/categories/themes/index.html b/categories/themes/index.html index ae2ead99..547f28b4 100644 --- a/categories/themes/index.html +++ b/categories/themes/index.html @@ -8,4 +8,4 @@ · Theme️ PaperMod \ No newline at end of file +document.querySelectorAll('a[href^="#"]').forEach(anchor=>{anchor.addEventListener("click",function(e){e.preventDefault();document.querySelector(this.getAttribute("href")).scrollIntoView({behavior:"smooth"});});});var mybutton=document.getElementById("top-link");window.onscroll=function(){if(document.body.scrollTop>800||document.documentElement.scrollTop>800){mybutton.style.visibility="visible";mybutton.style.opacity="1";}else{mybutton.style.visibility="hidden";mybutton.style.opacity="0";}};function menu_on_scroll(){localStorage.setItem("menu-scroll-position",document.getElementById('menu').scrollLeft);} \ No newline at end of file diff --git a/index.html b/index.html index 51718dba..ea7212f8 100644 --- a/index.html +++ b/index.html @@ -25,4 +25,4 @@ socialIcons: # optional - name: "<NAME>" url: "<link>" - name: "<NAME>" · Theme️ PaperMod \ No newline at end of file +document.querySelectorAll('a[href^="#"]').forEach(anchor=>{anchor.addEventListener("click",function(e){e.preventDefault();document.querySelector(this.getAttribute("href")).scrollIntoView({behavior:"smooth"});});});var mybutton=document.getElementById("top-link");window.onscroll=function(){if(document.body.scrollTop>800||document.documentElement.scrollTop>800){mybutton.style.visibility="visible";mybutton.style.opacity="1";}else{mybutton.style.visibility="hidden";mybutton.style.opacity="0";}};function menu_on_scroll(){localStorage.setItem("menu-scroll-position",document.getElementById('menu').scrollLeft);} \ No newline at end of file diff --git a/page/2/index.html b/page/2/index.html index 4a4cb86d..68d969e1 100644 --- a/page/2/index.html +++ b/page/2/index.html @@ -17,4 +17,4 @@ · Theme️ PaperMod \ No newline at end of file +document.querySelectorAll('a[href^="#"]').forEach(anchor=>{anchor.addEventListener("click",function(e){e.preventDefault();document.querySelector(this.getAttribute("href")).scrollIntoView({behavior:"smooth"});});});var mybutton=document.getElementById("top-link");window.onscroll=function(){if(document.body.scrollTop>800||document.documentElement.scrollTop>800){mybutton.style.visibility="visible";mybutton.style.opacity="1";}else{mybutton.style.visibility="hidden";mybutton.style.opacity="0";}};function menu_on_scroll(){localStorage.setItem("menu-scroll-position",document.getElementById('menu').scrollLeft);} \ No newline at end of file diff --git a/page/3/index.html b/page/3/index.html index abd9daba..ef56b97c 100644 --- a/page/3/index.html +++ b/page/3/index.html @@ -12,4 +12,4 @@ · Theme️ PaperMod \ No newline at end of file +document.querySelectorAll('a[href^="#"]').forEach(anchor=>{anchor.addEventListener("click",function(e){e.preventDefault();document.querySelector(this.getAttribute("href")).scrollIntoView({behavior:"smooth"});});});var mybutton=document.getElementById("top-link");window.onscroll=function(){if(document.body.scrollTop>800||document.documentElement.scrollTop>800){mybutton.style.visibility="visible";mybutton.style.opacity="1";}else{mybutton.style.visibility="hidden";mybutton.style.opacity="0";}};function menu_on_scroll(){localStorage.setItem("menu-scroll-position",document.getElementById('menu').scrollLeft);} \ No newline at end of file diff --git a/series/index.html b/series/index.html index a19fc51e..a682647e 100644 --- a/series/index.html +++ b/series/index.html @@ -4,4 +4,4 @@ · Theme️ PaperMod \ No newline at end of file +document.querySelectorAll('a[href^="#"]').forEach(anchor=>{anchor.addEventListener("click",function(e){e.preventDefault();document.querySelector(this.getAttribute("href")).scrollIntoView({behavior:"smooth"});});});var mybutton=document.getElementById("top-link");window.onscroll=function(){if(document.body.scrollTop>800||document.documentElement.scrollTop>800){mybutton.style.visibility="visible";mybutton.style.opacity="1";}else{mybutton.style.visibility="hidden";mybutton.style.opacity="0";}};function menu_on_scroll(){localStorage.setItem("menu-scroll-position",document.getElementById('menu').scrollLeft);} \ No newline at end of file diff --git a/series/papermod/index.html b/series/papermod/index.html index 3f9bef43..3ed6d99a 100644 --- a/series/papermod/index.html +++ b/series/papermod/index.html @@ -12,4 +12,4 @@ git submodule add https://github.com/adityatelange/hugo-PaperMod.git themes/hugo · Theme️ PaperMod \ No newline at end of file +document.querySelectorAll('a[href^="#"]').forEach(anchor=>{anchor.addEventListener("click",function(e){e.preventDefault();document.querySelector(this.getAttribute("href")).scrollIntoView({behavior:"smooth"});});});var mybutton=document.getElementById("top-link");window.onscroll=function(){if(document.body.scrollTop>800||document.documentElement.scrollTop>800){mybutton.style.visibility="visible";mybutton.style.opacity="1";}else{mybutton.style.visibility="hidden";mybutton.style.opacity="0";}};function menu_on_scroll(){localStorage.setItem("menu-scroll-position",document.getElementById('menu').scrollLeft);} \ No newline at end of file diff --git a/series/themes-guide/index.html b/series/themes-guide/index.html index 9bc190ea..8782ed6e 100644 --- a/series/themes-guide/index.html +++ b/series/themes-guide/index.html @@ -8,4 +8,4 @@ · Theme️ PaperMod \ No newline at end of file +document.querySelectorAll('a[href^="#"]').forEach(anchor=>{anchor.addEventListener("click",function(e){e.preventDefault();document.querySelector(this.getAttribute("href")).scrollIntoView({behavior:"smooth"});});});var mybutton=document.getElementById("top-link");window.onscroll=function(){if(document.body.scrollTop>800||document.documentElement.scrollTop>800){mybutton.style.visibility="visible";mybutton.style.opacity="1";}else{mybutton.style.visibility="hidden";mybutton.style.opacity="0";}};function menu_on_scroll(){localStorage.setItem("menu-scroll-position",document.getElementById('menu').scrollLeft);} \ No newline at end of file diff --git a/tags/css/index.html b/tags/css/index.html index ae1958f4..3c591153 100644 --- a/tags/css/index.html +++ b/tags/css/index.html @@ -8,4 +8,4 @@ · Theme️ PaperMod \ No newline at end of file +document.querySelectorAll('a[href^="#"]').forEach(anchor=>{anchor.addEventListener("click",function(e){e.preventDefault();document.querySelector(this.getAttribute("href")).scrollIntoView({behavior:"smooth"});});});var mybutton=document.getElementById("top-link");window.onscroll=function(){if(document.body.scrollTop>800||document.documentElement.scrollTop>800){mybutton.style.visibility="visible";mybutton.style.opacity="1";}else{mybutton.style.visibility="hidden";mybutton.style.opacity="0";}};function menu_on_scroll(){localStorage.setItem("menu-scroll-position",document.getElementById('menu').scrollLeft);} \ No newline at end of file diff --git a/tags/emoji/index.html b/tags/emoji/index.html index afc57a0a..27a4411f 100644 --- a/tags/emoji/index.html +++ b/tags/emoji/index.html @@ -8,4 +8,4 @@ · Theme️ PaperMod \ No newline at end of file +document.querySelectorAll('a[href^="#"]').forEach(anchor=>{anchor.addEventListener("click",function(e){e.preventDefault();document.querySelector(this.getAttribute("href")).scrollIntoView({behavior:"smooth"});});});var mybutton=document.getElementById("top-link");window.onscroll=function(){if(document.body.scrollTop>800||document.documentElement.scrollTop>800){mybutton.style.visibility="visible";mybutton.style.opacity="1";}else{mybutton.style.visibility="hidden";mybutton.style.opacity="0";}};function menu_on_scroll(){localStorage.setItem("menu-scroll-position",document.getElementById('menu').scrollLeft);} \ No newline at end of file diff --git a/tags/html/index.html b/tags/html/index.html index e40c33b5..96937b88 100644 --- a/tags/html/index.html +++ b/tags/html/index.html @@ -8,4 +8,4 @@ · Theme️ PaperMod \ No newline at end of file +document.querySelectorAll('a[href^="#"]').forEach(anchor=>{anchor.addEventListener("click",function(e){e.preventDefault();document.querySelector(this.getAttribute("href")).scrollIntoView({behavior:"smooth"});});});var mybutton=document.getElementById("top-link");window.onscroll=function(){if(document.body.scrollTop>800||document.documentElement.scrollTop>800){mybutton.style.visibility="visible";mybutton.style.opacity="1";}else{mybutton.style.visibility="hidden";mybutton.style.opacity="0";}};function menu_on_scroll(){localStorage.setItem("menu-scroll-position",document.getElementById('menu').scrollLeft);} \ No newline at end of file diff --git a/tags/index.html b/tags/index.html index 1cefc4ca..d836fc98 100644 --- a/tags/index.html +++ b/tags/index.html @@ -4,4 +4,4 @@ · Theme️ PaperMod \ No newline at end of file +document.querySelectorAll('a[href^="#"]').forEach(anchor=>{anchor.addEventListener("click",function(e){e.preventDefault();document.querySelector(this.getAttribute("href")).scrollIntoView({behavior:"smooth"});});});var mybutton=document.getElementById("top-link");window.onscroll=function(){if(document.body.scrollTop>800||document.documentElement.scrollTop>800){mybutton.style.visibility="visible";mybutton.style.opacity="1";}else{mybutton.style.visibility="hidden";mybutton.style.opacity="0";}};function menu_on_scroll(){localStorage.setItem("menu-scroll-position",document.getElementById('menu').scrollLeft);} \ No newline at end of file diff --git a/tags/markdown/index.html b/tags/markdown/index.html index 429d6288..3027c89e 100644 --- a/tags/markdown/index.html +++ b/tags/markdown/index.html @@ -12,4 +12,4 @@ · Theme️ PaperMod \ No newline at end of file +document.querySelectorAll('a[href^="#"]').forEach(anchor=>{anchor.addEventListener("click",function(e){e.preventDefault();document.querySelector(this.getAttribute("href")).scrollIntoView({behavior:"smooth"});});});var mybutton=document.getElementById("top-link");window.onscroll=function(){if(document.body.scrollTop>800||document.documentElement.scrollTop>800){mybutton.style.visibility="visible";mybutton.style.opacity="1";}else{mybutton.style.visibility="hidden";mybutton.style.opacity="0";}};function menu_on_scroll(){localStorage.setItem("menu-scroll-position",document.getElementById('menu').scrollLeft);} \ No newline at end of file diff --git a/tags/papermod/index.html b/tags/papermod/index.html index cc676ad7..dd67c76d 100644 --- a/tags/papermod/index.html +++ b/tags/papermod/index.html @@ -25,4 +25,4 @@ socialIcons: # optional - name: "<NAME>" url: "<link>" - name: "<NAME>" · Theme️ PaperMod \ No newline at end of file +document.querySelectorAll('a[href^="#"]').forEach(anchor=>{anchor.addEventListener("click",function(e){e.preventDefault();document.querySelector(this.getAttribute("href")).scrollIntoView({behavior:"smooth"});});});var mybutton=document.getElementById("top-link");window.onscroll=function(){if(document.body.scrollTop>800||document.documentElement.scrollTop>800){mybutton.style.visibility="visible";mybutton.style.opacity="1";}else{mybutton.style.visibility="hidden";mybutton.style.opacity="0";}};function menu_on_scroll(){localStorage.setItem("menu-scroll-position",document.getElementById('menu').scrollLeft);} \ No newline at end of file diff --git a/tags/privacy/index.html b/tags/privacy/index.html index b405afef..89e66edd 100644 --- a/tags/privacy/index.html +++ b/tags/privacy/index.html @@ -8,4 +8,4 @@ · Theme️ PaperMod \ No newline at end of file +document.querySelectorAll('a[href^="#"]').forEach(anchor=>{anchor.addEventListener("click",function(e){e.preventDefault();document.querySelector(this.getAttribute("href")).scrollIntoView({behavior:"smooth"});});});var mybutton=document.getElementById("top-link");window.onscroll=function(){if(document.body.scrollTop>800||document.documentElement.scrollTop>800){mybutton.style.visibility="visible";mybutton.style.opacity="1";}else{mybutton.style.visibility="hidden";mybutton.style.opacity="0";}};function menu_on_scroll(){localStorage.setItem("menu-scroll-position",document.getElementById('menu').scrollLeft);} \ No newline at end of file diff --git a/tags/shortcodes/index.html b/tags/shortcodes/index.html index 6df9928f..d9403083 100644 --- a/tags/shortcodes/index.html +++ b/tags/shortcodes/index.html @@ -8,4 +8,4 @@ · Theme️ PaperMod \ No newline at end of file +document.querySelectorAll('a[href^="#"]').forEach(anchor=>{anchor.addEventListener("click",function(e){e.preventDefault();document.querySelector(this.getAttribute("href")).scrollIntoView({behavior:"smooth"});});});var mybutton=document.getElementById("top-link");window.onscroll=function(){if(document.body.scrollTop>800||document.documentElement.scrollTop>800){mybutton.style.visibility="visible";mybutton.style.opacity="1";}else{mybutton.style.visibility="hidden";mybutton.style.opacity="0";}};function menu_on_scroll(){localStorage.setItem("menu-scroll-position",document.getElementById('menu').scrollLeft);} \ No newline at end of file diff --git a/tags/text/index.html b/tags/text/index.html index 2086781c..cdb729f3 100644 --- a/tags/text/index.html +++ b/tags/text/index.html @@ -8,4 +8,4 @@ · Theme️ PaperMod \ No newline at end of file +document.querySelectorAll('a[href^="#"]').forEach(anchor=>{anchor.addEventListener("click",function(e){e.preventDefault();document.querySelector(this.getAttribute("href")).scrollIntoView({behavior:"smooth"});});});var mybutton=document.getElementById("top-link");window.onscroll=function(){if(document.body.scrollTop>800||document.documentElement.scrollTop>800){mybutton.style.visibility="visible";mybutton.style.opacity="1";}else{mybutton.style.visibility="hidden";mybutton.style.opacity="0";}};function menu_on_scroll(){localStorage.setItem("menu-scroll-position",document.getElementById('menu').scrollLeft);} \ No newline at end of file diff --git a/tags/themes/index.html b/tags/themes/index.html index 631b2140..967fddec 100644 --- a/tags/themes/index.html +++ b/tags/themes/index.html @@ -8,4 +8,4 @@ · Theme️ PaperMod \ No newline at end of file +document.querySelectorAll('a[href^="#"]').forEach(anchor=>{anchor.addEventListener("click",function(e){e.preventDefault();document.querySelector(this.getAttribute("href")).scrollIntoView({behavior:"smooth"});});});var mybutton=document.getElementById("top-link");window.onscroll=function(){if(document.body.scrollTop>800||document.documentElement.scrollTop>800){mybutton.style.visibility="visible";mybutton.style.opacity="1";}else{mybutton.style.visibility="hidden";mybutton.style.opacity="0";}};function menu_on_scroll(){localStorage.setItem("menu-scroll-position",document.getElementById('menu').scrollLeft);} \ No newline at end of file