diff --git a/_includes/sidebar.html b/_includes/sidebar.html
index 2c77e39..2781026 100644
--- a/_includes/sidebar.html
+++ b/_includes/sidebar.html
@@ -25,7 +25,7 @@
{% for node in pages_list %}
{% if node.sidebar != null %}
{% if node.layout == "page" or node.layout == "page2" %}
- {% if node.permalink != null}
+ {% if node.permalink != null %}
{% else %}