_includes/header.html in oscailte-3.0.0 vs _includes/header.html in oscailte-3.0.1
- old
+ new
@@ -1,17 +1,17 @@
-<header class="Header">
- <div class="Container">
- {% if site.title %}
- <h1 class="Header__title">
- <a href="{{ site.url }}">
- {{ site.title }}
- {% if site.subtitle %}
- <br>
- <small class="Header__subtitle">{{ site.subtitle }}</small>
- {% endif %}
- </a>
- </h1>
- {% endif %}
-
- {% include navigation.html %}
- </div>
-</header>
+<header class="Header">
+ <div class="Container">
+ {% if site.title %}
+ <h1 class="Header__title">
+ <a href="{{ '/' | relative_url }}">
+ {{ site.title }}
+ {% if site.subtitle %}
+ <br>
+ <small class="Header__subtitle">{{ site.subtitle }}</small>
+ {% endif %}
+ </a>
+ </h1>
+ {% endif %}
+
+ {% include navigation.html %}
+ </div>
+</header>