fix logo header

This commit is contained in:
Kevin Tessier 2020-06-28 11:11:59 +02:00
parent 02a856556d
commit 6e390a00dc
2 changed files with 3 additions and 2 deletions

View File

@ -15,9 +15,10 @@
$context = Timber::context(); $context = Timber::context();
$context['posts'] = new Timber\PostQuery(); $context['posts'] = new Timber\PostQuery();
// $context['logo'] = '';
$templates = array( 'base.twig' ); $templates = array( 'base.twig' );
if ( is_home() ) { if ( is_home() ) {
array_unshift(' accueil.twig' ); array_unshift(' accueil.twig' );
} }
Timber::render( $templates, $context ); Timber::render( $templates, $context );

View File

@ -9,7 +9,7 @@
<header class="header d-flex justify-content-between"> <header class="header d-flex justify-content-between">
{% block header %} {% block header %}
<div class="logoLamine"> <div class="logoLamine">
<a class="hdr-logo-link" href="{{site.url}}"><img src="../images/logo_lamine_vect.svg"/></a> <a class="hdr-logo-link" href="{{site.url}}"><img src="{{theme.link}}/asset/images/logo_lamine_vect.svg"/></a>
</div> </div>
<div class="rs row align-items"> <div class="rs row align-items">
<div class="facebook"> <div class="facebook">