{% for p in site.pages %}

       {% if p.title %}
               <li><a href="{{ p.url | absolute_url }}">{{ p.title }}</a></li>
        {% endif %}
{% endfor %}