diff --git a/sphinx_rtd_theme/layout.html b/sphinx_rtd_theme/layout.html
index 94a40cc1c..068169ced 100644
--- a/sphinx_rtd_theme/layout.html
+++ b/sphinx_rtd_theme/layout.html
@@ -167,7 +167,7 @@
{%- block menu %}
{%- set toctree = toctree(maxdepth=theme_navigation_depth|int,
collapse=theme_collapse_navigation|tobool,
- includehidden=theme_includehidden|tobool,
+ includehidden=theme_includehidden,
titles_only=theme_titles_only|tobool) %}
{%- if toctree %}
{{ toctree }}