diff --git a/docs/_layouts/default.html b/docs/_layouts/default.html
index bfe89e0..4e39d1b 100644
--- a/docs/_layouts/default.html
+++ b/docs/_layouts/default.html
@@ -51,7 +51,7 @@
{% if page.name == "index.md" %}
- {% include {{ replace_index_with }} %}
+ {% include {{ site.replace_index_with }} %}
{% else %}
{{ content }}
{% endif %}