{{ site.title | escape }}
{# my_page.autogen is populated by the pagination logic for all pages that are automatically created by the gem. Check for non-existence to exclude pagination pages from site.pages iterators #} {# add exclusion of /index to avoid having the link twice #} {% for my_page in site.pages %} {# check for in_navbar: true #} {% if my_page.title and my_page.autogen == nil and my_page.url != "/index.html" %} {{ my_page.title | escape }} {% endif %} {% endfor %}