mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-20 03:10:39 -07:00
Avoid link to self on homepage
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
<div class="sidebar">
|
||||
<header class="sidebar__logo" role="banner">
|
||||
<a href="{{ "/" | prepend: site.baseurl }}">Liquid</a>
|
||||
{% if page.home %}
|
||||
Liquid
|
||||
{% else %}
|
||||
<a href="{{ "/" | relative_url }}">Liquid</a>
|
||||
{% endif %}
|
||||
</header>
|
||||
<nav class="sidebar__nav"> {% assign sections = "basics, tags, filters" | split: ", " %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user