Skip to content

Commit c19a5e4

Browse files
committed
Convert strings to bool
1 parent a0b2ccc commit c19a5e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sphinx_rtd_theme/layout.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@
159159

160160
{# PAGE CONTENT #}
161161
<div class="wy-nav-content">
162-
{% if theme_style_external_links %}
162+
{% if theme_style_external_links|tobool %}
163163
<div class="rst-content style-external-links">
164164
{% else %}
165165
<div class="rst-content">
@@ -207,7 +207,7 @@
207207
{% endif %}
208208

209209
{# STICKY NAVIGATION #}
210-
{% if theme_sticky_navigation %}
210+
{% if theme_sticky_navigation|tobool %}
211211
<script type="text/javascript">
212212
jQuery(function () {
213213
SphinxRtdTheme.StickyNav.enable();

0 commit comments

Comments
 (0)