diff --git a/_layouts/default.html b/_layouts/default.html index 3053bf0..e1a8db4 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -23,9 +23,11 @@
Home
{% for page in site.pages %}
- {% unless page.tags contains "dontlink" %}
- {{ page.title }}
- {% endunless %}
+ {% if "{{ page.url | slice: -5,5 }}" == ".html" %}
+ {% unless page.tags contains "dontlink" %}
+ {{ page.title }}
+ {% endunless %}
+ {% endif %}
{% endfor %}