fix: don't link site name if on root

This commit is contained in:
Cory Dransfeldt 2024-01-30 09:18:11 -08:00
parent 424034bced
commit f0cde74187
No known key found for this signature in database

View file

@ -1,6 +1,10 @@
<div class="main__title">
<h1>
{% if page.url != '/' %}
<a href="/">{{ meta.siteName }}</a>
{% else %}
{{ meta.siteName }}
{% endif %}
</h1>
{% render "partials/nav/menu.liquid", page: page, nav: nav %}
</div>