2017-03-19 18:27:58 +02:00
|
|
|
{% if site.logo contains '://' %}
|
|
|
|
{% assign site_logo = site.logo %}
|
2017-03-13 21:23:04 +02:00
|
|
|
{% else %}
|
2017-03-19 18:27:58 +02:00
|
|
|
{% assign site_logo = site.logo | relative_url %}
|
2017-03-13 21:23:04 +02:00
|
|
|
{% endif %}
|
|
|
|
|
2017-03-07 23:12:17 +02:00
|
|
|
<header id="masthead">
|
|
|
|
<div class="inner">
|
|
|
|
<div class="title-area">
|
|
|
|
{% if page.url == '/' %}
|
|
|
|
<h1 class="site-title">
|
|
|
|
<a href="{{ '/' | relative_url }}">
|
2017-03-19 18:27:58 +02:00
|
|
|
{% if site.logo %}<img src="{{ site_logo }}" alt="" class="site-logo">{% endif %}
|
2017-03-13 21:23:04 +02:00
|
|
|
<span>{{ site.title | escape }}</span>
|
2017-03-07 23:12:17 +02:00
|
|
|
</a>
|
|
|
|
</h1>
|
|
|
|
{% else %}
|
|
|
|
<p class="site-title">
|
|
|
|
<a href="{{ '/' | relative_url }}">
|
2017-03-19 18:27:58 +02:00
|
|
|
{% if site.logo %}<img src="{{ site_logo }}" alt="" class="site-logo">{% endif %}
|
2017-03-13 21:23:04 +02:00
|
|
|
<span>{{ site.title | escape }}</span>
|
2017-03-07 23:12:17 +02:00
|
|
|
</a>
|
|
|
|
</p>
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-03-19 18:27:58 +02:00
|
|
|
</header>
|