diff --git a/content/_index.md b/content/_index.md
index 5b43f8ea..5c7b838b 100644
--- a/content/_index.md
+++ b/content/_index.md
@@ -1,5 +1,6 @@
---
-title: 🪴 Quartz 3.3
+title: 🪴 Quartz 3.
+enableToc: false
---
Host your second brain and [digital garden](https://jzhao.xyz/posts/networked-thought) for free. Quartz features
diff --git a/layouts/partials/toc.html b/layouts/partials/toc.html
index c1c6d2a4..acad6fe7 100644
--- a/layouts/partials/toc.html
+++ b/layouts/partials/toc.html
@@ -1,4 +1,5 @@
-{{ if (and $.Site.Data.config.enableToc (ne .Params.enableToc false) (gt .WordCount 250)) }}
+{{ $hasHeaders := gt (len (findRE "(.|\n)*?" .Content)) 0 }}
+{{ if (and $.Site.Data.config.enableToc (ne .Params.enableToc false) $hasHeaders) }}