Skip to content

Commit

Permalink
🐛 fix: check proper toc_ignore_pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
welpo committed Aug 16, 2023
1 parent 89519e6 commit fe872a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/macros/table_of_contents.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}

Expand Down

0 comments on commit fe872a7

Please sign in to comment.