diff --git a/_includes/header.html b/_includes/header.html index 1899836..887e0b1 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -13,12 +13,12 @@ {% for page in site.pages %} - {% if page.path == "index.html" %} + {% if page.layout == "default" %} {{ page.title }} {% endif %} {% endfor %} {% for page in site.pages %} - {% if page.path != "index.html" %} + {% if page.layout != "default" %} {{ page.title }} {% endif %} {% endfor %}