fix: don't link site name if on root
This commit is contained in:
parent
424034bced
commit
f0cde74187
1 changed files with 4 additions and 0 deletions
|
@ -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>
|
Reference in a new issue