_includes/nav-default.html in alembic-jekyll-theme-2.1.2 vs _includes/nav-default.html in alembic-jekyll-theme-2.2.0
- old
+ new
@@ -1,8 +1,8 @@
<nav class="nav">
<ul class="list list--nav">
- {% for item in site.pages %}
- {% unless item.title == false or item.url contains "/page" or item.url contains "/404.html" or item.url contains "/feed." or item.url contains ".json" %}
+ {% for item in site.html_pages %}
+ {% unless item.title == false or item.url contains "/page" or item.url contains "/404.html" %}
<li class="item item--nav{% if item.url == page.url %} item--current{% endif %}">
{% if item.url contains '://' %}
{% assign url = item.url %}
{% else %}