diff --git a/_includes/sidebar.html b/_includes/sidebar.html
index 089ab92d..d299b801 100644
--- a/_includes/sidebar.html
+++ b/_includes/sidebar.html
@@ -8,8 +8,8 @@
- {% for page in site.pages %}{% if page.url contains section/ %}{% unless page.path contains "index" %}
- - {{ page.title }}
+ {% for item in site.pages %}{% if item.url contains section/ %}{% unless item.path contains "index" %}
+ - {{ item.title }}
{% endunless %}{% endif %}{% endfor %}
{% endfor %}