--- layout: minify --- {% for page in site.pages %} {% if page.url == "/" or page.url contains ".html" %} {% if page.url != "/404.html" %} {{ site.url }}{{ page.url | remove: ".html"}} {% endif %} {% endif %} {% endfor %}