瀏覽代碼

fix logo header

Kevin 4 年之前
父節點
當前提交
6e390a00dc
共有 2 個文件被更改,包括 3 次插入2 次删除
  1. 2 1
      web/app/themes/la_mine/index.php
  2. 1 1
      web/app/themes/la_mine/templates/base.twig

+ 2 - 1
web/app/themes/la_mine/index.php

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

+ 1 - 1
web/app/themes/la_mine/templates/base.twig

@@ -9,7 +9,7 @@
 		<header class="header d-flex justify-content-between">
 			{% block header %}
 				<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 class="rs row align-items">
 			    <div class="facebook">