🐛 fix: check proper toc_ignore_pattern

This commit is contained in:
welpo 2023-08-16 02:02:31 +02:00
parent 89519e6268
commit fe872a7b54
No known key found for this signature in database
GPG Key ID: A2F978CF4EC1F5A6

View File

@ -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 %}