From a72fec395a8d85679023869671a6474a363e79dd Mon Sep 17 00:00:00 2001 From: Panos Sakkos Date: Sun, 5 May 2024 13:01:34 +0300 Subject: [PATCH] format files --- _includes/head.html | 2 +- _includes/js.html | 175 +++++++++++++++++++++++--------------------- 2 files changed, 93 insertions(+), 84 deletions(-) diff --git a/_includes/head.html b/_includes/head.html index b5defef79..9e7715715 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -22,7 +22,7 @@ {% endif %} - {% if page.layout == "post" %} + {% if page.section-type == "post" %} {% if site.syntax-highlight %} {% endif %} diff --git a/_includes/js.html b/_includes/js.html index f776d351f..5b026d1d8 100644 --- a/_includes/js.html +++ b/_includes/js.html @@ -52,114 +52,123 @@ {% if page.section-type == "index" %} - - - + -{% if site.dynamic-typing %} + {% if site.dynamic-typing %} - + - + + + + + - {% if site.shuffle %} - shuffle(myQuotes) {% endif %} - $(".intro-text").typed({ - strings: myQuotes, - typeSpeed: {{ site.type-speed }}, - backDelay: {{ site.delete-delay }}, - startDelay: {{ site.start-delay }}, - loop: {{ site..loop }}, - loopCount: {{ site.loop-count }}, - cursorChar: "|" - }); - +{% endif %} - +{% if site.disqus-shortname %} -{% endif %} {% endif %} {% if site.disqus-shortname %} {% if page.has-comments -%} + {% if page.has-comments %} - + - + (function () { + var s = document.createElement("script"); + s.async = true; + s.type = "text/javascript"; + s.src = "//" + disqus_shortname + ".disqus.com/count.js"; + ( + document.getElementsByTagName("HEAD")[0] || + document.getElementsByTagName("BODY")[0] + ).appendChild(s); + })(); + - + -{% endif %} {% if page.section-type == "post" %} + {% endif %} - + {% if page.section-type == "post" %} - + + + - - + + + + {% endif %} -{% endif %} {% endif %} +{% endif %}