🐛 fix: check proper `toc_ignore_pattern`

main
welpo 2 years ago
parent 89519e6268
commit fe872a7b54
No known key found for this signature in database
GPG Key ID: A2F978CF4EC1F5A6

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

Loading…
Cancel
Save