mirror of
https://github.com/adulau/brouilleursdeblanc.git
synced 2024-11-24 11:07:14 +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 %}
|
||||
|
||||
{% if page.image.feature %}<header class="masthead">
|
||||
<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 bounceInDown"></a>
|
||||
</div>
|
||||
{% if site.logo != null %}
|
||||
<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 bounceInDown"></a>
|
||||
</div>
|
||||
{% endif %}
|
||||
</header><!-- /.masthead -->
|
||||
{% else %}<header class="masthead">
|
||||
<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>
|
||||
<h1 class="site-title animated fadeIn"><a href="{{ site.url }}">{{ site.title }}</a></h1>
|
||||
{% 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 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>
|
||||
</div>
|
||||
</header><!-- /.masthead -->{% endif %}
|
||||
|
|
Loading…
Reference in a new issue