mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-15 08:50:45 -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: ", " %}
|
||||
|
||||
|
||||
@@ -69,6 +69,7 @@ body {
|
||||
}
|
||||
|
||||
.sidebar__logo {
|
||||
color: $color-white;
|
||||
font-size: $base-font-size * 2;
|
||||
font-weight: 300;
|
||||
text-align: center;
|
||||
|
||||
Reference in New Issue
Block a user