From fe872a7b54f8c24c3bb4d678c72d4f17b6f6d396 Mon Sep 17 00:00:00 2001 From: welpo Date: Wed, 16 Aug 2023 02:02:31 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix:=20check=20proper=20`toc=5Fi?= =?UTF-8?q?gnore=5Fpattern`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/macros/table_of_contents.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/macros/table_of_contents.html b/templates/macros/table_of_contents.html index f5cb993..abd0140 100644 --- a/templates/macros/table_of_contents.html +++ b/templates/macros/table_of_contents.html @@ -2,7 +2,7 @@ {%- set toc_levels = page.extra.toc_levels | default(value=3) -%} -{% if toc_ignore_pattern %} +{% if page.extra.toc_ignore_pattern %} {%- set toc_ignore_pattern = page.extra.toc_ignore_pattern -%} {% endif %}