diff --git a/layouts/partials/after-content-js.html b/layouts/partials/after-content-js.html index ace6b34..2892009 100644 --- a/layouts/partials/after-content-js.html +++ b/layouts/partials/after-content-js.html @@ -78,8 +78,10 @@ document.addEventListener("scroll", () => { }).then((html_string) => { const parser = new DOMParser(); const next_page = parser.parseFromString(html_string, "text/html"); + {{ if .Site.Params.heti }} const heti = new Heti(next_page); heti.autoSpacing(); + {{ end }} const rows = next_page.querySelectorAll(".moment-row"); const container = document.querySelector(".page > .container"); rows.forEach((r) => { @@ -97,7 +99,10 @@ document.addEventListener("scroll", () => { {{ end }} + +{{ if .Site.Params.heti }} +{{ end }} diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 2e7a182..d298689 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -55,8 +55,12 @@ {{ end }} + +{{ if .Site.Params.heti }} +{{ end }} + {{ .Site.Params.title }}