🐛 fix: check proper toc_ignore_pattern
This commit is contained in:
parent
89519e6268
commit
fe872a7b54
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
{%- set toc_levels = page.extra.toc_levels | default(value=3) -%}
|
{%- 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 -%}
|
{%- set toc_ignore_pattern = page.extra.toc_ignore_pattern -%}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user