From e302f6c423136d1dbdfda48c2b241e62bb5654e7 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Fri, 06 May 2022 00:35:32 +0000
Subject: [PATCH] fix: more generic style to match bad nesting generated by popover interp
---
layouts/index.html | 12 +++---------
1 files changed, 3 insertions(+), 9 deletions(-)
diff --git a/layouts/index.html b/layouts/index.html
index 0e2a9d1..224c997 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,16 +13,10 @@
{{partial "darkmode.html" .}}
</header>
<article>
- {{ if (and $.Site.Data.config.enableToc (not (.Params.disableToc))) }}
- <aside class="mainTOC">
- <h3>Table of Contents</h3>
- {{ .TableOfContents }}
- </aside>
- {{end}}
- {{- .Content -}}
+ {{partial "toc.html" .}}
+ {{partial "textprocessing.html" . }}
</article>
{{partial "footer.html" .}}
</div>
</body>
</html>
-
--
Gitblit v1.10.0