2017-03-13 21:23:04 +02:00
|
|
|
{% if site.image contains '://' %}
|
|
|
|
{% assign site_image = site.image %}
|
|
|
|
{% else %}
|
|
|
|
{% assign site_image = site.image | relative_url %}
|
|
|
|
{% 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-13 21:23:04 +02:00
|
|
|
{% if site.image %}<img src="{{ site_image }}" alt="" class="site-image">{% endif %}
|
|
|
|
<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-13 21:23:04 +02:00
|
|
|
{% if site.image %}<img src="{{ site_image }}" alt="" class="site-image">{% endif %}
|
|
|
|
<span>{{ site.title | escape }}</span>
|
2017-03-07 23:12:17 +02:00
|
|
|
</a>
|
|
|
|
</p>
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</header>
|