From 8779e72c77c2e454d444b86d3d5ebda9bfab46d7 Mon Sep 17 00:00:00 2001
From: Claudio Yanes <me@claudio4.com>
Date: Fri, 04 Mar 2022 03:34:45 +0000
Subject: [PATCH] Add attribute property to scripts from jsdelivr
---
layouts/index.html | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/layouts/index.html b/layouts/index.html
index 06fcb95..f0cd68e 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<html lang="en">
+<html lang="{{ .Lang }}">
{{ partial "head.html" . }}
<body>
@@ -13,7 +13,7 @@
{{partial "darkmode.html" .}}
</header>
<article>
- {{if $.Site.Data.config.enableToc}}
+ {{ if (and $.Site.Data.config.enableToc (not (.Params.disableToc))) }}
<aside class="mainTOC">
<h3>Table of Contents</h3>
{{ .TableOfContents }}
@@ -22,6 +22,7 @@
{{- .Content -}}
</article>
{{partial "footer.html" .}}
+ {{partial "popover.html" .}}
</div>
</body>
</html>
--
Gitblit v1.10.0