From cd7e2088d564023b073a458282e3a63b7a108c0b Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Fri, 23 Sep 2022 17:17:28 +0000
Subject: [PATCH] feat: hide TOC when no headers (closes #204)

---
 layouts/_default/baseof.html |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index ccb3b93..8754b1f 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -1,5 +1,5 @@
 <!DOCTYPE html>
-<html lang="en">
+<html lang="{{ .Lang }}">
 {{ block "head" . }}
 {{ end }}
 

--
Gitblit v1.10.0