Commit 25cd328b authored by Chris Lamb's avatar Chris Lamb 👀
Browse files

Drop unnecessary link to "home" on horizontal navigation buttons.

parent d6eb1651
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
{% assign sorted_pages = site.pages | sort:"order" %}
<p class="text-center">
{% for page in sorted_pages %}{% if page.title and page.order > 0 %}<a class="btn btn-outline-primary m-2" href="{{ page.url | relative_url }}">{{ page.title }}</a>{% endif %}{% endfor %}
{% for page in sorted_pages %}{% if page.title and page.order > 0 and page.url != "/" %}<a class="btn btn-outline-primary m-2" href="{{ page.url | relative_url }}">{{ page.title }}</a>{% endif %}{% endfor %}
</p>