← hugo-clarity

set url explicitly via body element

ba990b826c73413c6f9ddc5eaafd51e0a2984ed5 · weru · Jul 24, 2022 21:06

Signed-off-by: weru <fromweru@gmail.com>

+1 · 1 file changed

  • layouts/_default/baseof.html +1 −0
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 7f1da9b..eed5a5e 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -25,6 +25,7 @@
     data-code="{{ $codeBlockConfig.max }}"
     data-lines="{{ $codeBlockConfig.lines }}"
     id="documentTop"
+    data-lang="{{ .Lang }}"
   >
     {{- partial "header" . }}
     <main>