mirror of
https://github.com/adulau/brouilleursdeblanc.git
synced 2024-11-07 12:06:26 +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,13 +27,17 @@
|
|||
</div><!-- ./search-wrapper -->{% endif %}
|
||||
|
||||
{% if page.image.feature %}<header class="masthead">
|
||||
{% 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">
|
||||
{% 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>
|
||||
|
|
Loading…
Reference in a new issue