mirror of
https://github.com/adulau/brouilleursdeblanc.git
synced 2024-11-21 17:47:10 +00:00
if variable site.logo is null then hide logo
This commit is contained in:
parent
a01b3f1bc4
commit
6b560a843d
1 changed files with 9 additions and 5 deletions
|
@ -27,14 +27,18 @@
|
||||||
</div><!-- ./search-wrapper -->{% endif %}
|
</div><!-- ./search-wrapper -->{% endif %}
|
||||||
|
|
||||||
{% if page.image.feature %}<header class="masthead">
|
{% if page.image.feature %}<header class="masthead">
|
||||||
<div class="wrap">
|
{% if site.logo != null %}
|
||||||
<a href="{{ site.url }}" class="site-logo" rel="home" title="{{ site.title }}"><img src="{{ site.url }}/images/{{ site.logo }}" width="200" height="200" alt="{{ site.title }} logo" class="animated bounceInDown"></a>
|
<div class="wrap">
|
||||||
</div>
|
<a href="{{ site.url }}" class="site-logo" rel="home" title="{{ site.title }}"><img src="{{ site.url }}/images/{{ site.logo }}" width="200" height="200" alt="{{ site.title }} logo" class="animated bounceInDown"></a>
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
</header><!-- /.masthead -->
|
</header><!-- /.masthead -->
|
||||||
{% else %}<header class="masthead">
|
{% else %}<header class="masthead">
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<a href="{{ site.url }}" class="site-logo" rel="home" title="{{ site.title }}"><img src="{{ site.url }}/images/{{ site.logo }}" width="200" height="200" alt="{{ site.title }} logo" class="animated fadeInUp"></a>
|
{% if site.logo != null %}
|
||||||
<h1 class="site-title animated fadeIn"><a href="{{ site.url }}">{{ site.title }}</a></h1>
|
<a href="{{ site.url }}" class="site-logo" rel="home" title="{{ site.title }}"><img src="{{ site.url }}/images/{{ site.logo }}" width="200" height="200" alt="{{ site.title }} logo" class="animated fadeInUp"></a>
|
||||||
|
{% endif %}
|
||||||
|
<h1 class="site-title animated fadeIn"><a href="{{ site.url }}">{{ site.title }}</a></h1>
|
||||||
<h2 class="site-description animated fadeIn" itemprop="description">{{ site.description }}</h2>
|
<h2 class="site-description animated fadeIn" itemprop="description">{{ site.description }}</h2>
|
||||||
</div>
|
</div>
|
||||||
</header><!-- /.masthead -->{% endif %}
|
</header><!-- /.masthead -->{% endif %}
|
||||||
|
|
Loading…
Reference in a new issue