title: How to display included files in multiple navigation pages
body: <p>I intend to display a jumbotron in multiple pages of my application, I have been able to display it on the home page, how do I replicate such on other pages.</p>
  
  <p>I'm using Laravel 5.8 and Bootstrap 4 .It displayed on the default home page<code>('/')</code>, I have tried replacing <code>('/')</code> 
   with the page name in the route file which is <code>'training'</code> (from <code>...-&gt;name('training')</code>) i.e but it didn't display. I have also tried replacing it with <code>'/Training'</code> and <code>'pages/training'</code> but it still didn't work.</p>
  
  <p>The code in the master blade file (resources/views/layout/app.blade.php) is;</p>
  
  <pre><code>@if (Request::is('training'))
       @include('inc.showcase')
  @endif
  </code></pre>
  
  <p>The code for the showcase file (resources/views/inc/showcase.blade.php) is;</p>
  
  <pre><code>&lt;div class="jumbotron text-center"&gt;
      &lt;div class="container"&gt;
          &lt;p&gt;Welcome to My Page&lt;/p&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>The code for the child blade (resources/views/pages/training.blade.php) is;</p>
  
  <pre><code>@extends('layout.app')
  
  @section('content')
      &lt;h1&gt;Training&lt;/h1&gt;
  @endsection
  </code></pre>
  
  <p>That of the route file (routes\web.php) is;</p>
  
  <pre><code>Route::get('/Training', 'PageController@getTraining')-&gt;name('training');
  </code></pre>
  
  <p>And that of the controller (app\Http\Controllers\PageController.php) is;</p>
  
  <pre><code>public function getTraining(){
          return view('pages/training');
      }
  </code></pre>
  
  <p>I expect the Jumbotron to display in the training page but nothing displays at all, except for the home page when i use <code>(/)</code></p>