Skip to content

Commit

Permalink
🐛 FIX: fix undefined sphinx var "meta" in jinja (#395)
Browse files Browse the repository at this point in the history
  • Loading branch information
drammock authored Apr 26, 2021
1 parent 9e6a3a5 commit 3455c23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pydata_sphinx_theme/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@

{% block docs_toc %}
<div class="d-none d-xl-block col-xl-2 bd-toc">
{% if not (meta is not none and 'notoc' in meta) %}
{% if meta is defined and not (meta is not none and 'notoc' in meta) %}
{% for toc_item in theme_page_sidebar_items %}
<div class="toc-item">
{% include toc_item %}
Expand Down

0 comments on commit 3455c23

Please sign in to comment.