From f70128a3deacc26ceccb7d397ce6cd73acceb7f9 Mon Sep 17 00:00:00 2001
From: Claudio Yanes <me@claudio4.com>
Date: Wed, 09 Mar 2022 17:58:01 +0000
Subject: [PATCH] Prevent overflow of long links and words
---
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