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