mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-29 15:15:19 -07:00
Avoid link to self on homepage
This commit is contained in:
@@ -1,6 +1,10 @@
|
|||||||
<div class="sidebar">
|
<div class="sidebar">
|
||||||
<header class="sidebar__logo" role="banner">
|
<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>
|
</header>
|
||||||
<nav class="sidebar__nav"> {% assign sections = "basics, tags, filters" | split: ", " %}
|
<nav class="sidebar__nav"> {% assign sections = "basics, tags, filters" | split: ", " %}
|
||||||
|
|
||||||
|
|||||||
@@ -69,6 +69,7 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.sidebar__logo {
|
.sidebar__logo {
|
||||||
|
color: $color-white;
|
||||||
font-size: $base-font-size * 2;
|
font-size: $base-font-size * 2;
|
||||||
font-weight: 300;
|
font-weight: 300;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|||||||
Reference in New Issue
Block a user