From de3c6a1d4eedbf72c235caa99cbed4ae4c23c33b Mon Sep 17 00:00:00 2001 From: Sungchan Yi Date: Tue, 12 Nov 2024 23:05:39 +0900 Subject: [PATCH] build: fix build failure --- _includes/toc-status.html | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 _includes/toc-status.html diff --git a/_includes/toc-status.html b/_includes/toc-status.html new file mode 100644 index 0000000..4b71cae --- /dev/null +++ b/_includes/toc-status.html @@ -0,0 +1,10 @@ +{% comment %} + Determine TOC state and return it through variable "enable_toc" +{% endcomment %} + +{% assign enable_toc = false %} +{% if site.toc and page.toc %} + {% if page.content contains '