title: Laravel: Navigation in 1 blade file
body: <p>I am currently working on a new project, and for the first time I am using Laravel. I've created several blade files (views) and added the routes of the views. Because there are so many pages I would like to have my Navigation content in one file, called a base file. I extend the base.blade.php file in every view so my navigation is everywhere the same. But, I have now the problem that some links are not valid, and have no route (because they are pointing from different locations). What is the best way to link to other blade files (and views) in one single file? What I have now:</p>
  
  <p>my route</p>
  
  <pre><code>Route::get('/jaarhoroscoop', function () {
      return view('jaarhoroscoop');
  });
  </code></pre>
  
  <p>my nav file</p>
  
  <pre><code>&lt;li&gt;
      &lt;a class="headnavitem" href="jaarhoroscoop"&gt;Jaarhoroscoop&lt;/a&gt;
  &lt;/li&gt;
  </code></pre>
  
  <p>So when I am on the index file, it will link me to the view of "jaarhoroscope". But when I am on a page of a different view and in a other directory..</p>
  
  <pre><code>Route::get('/chinese-horoscopen/jaarhoroscoop-2016-2017', function () {
      return view('chinese-horoscopen.jaarhoroscoop-2016-2017');
  });
  </code></pre>
  
  <p>Like the view above, it will take me to public/chinese-horoscopen/jaarhoroscoop. I cant get it right.. Who can help me out? What I would like is that if I am on above route, I would go to public/jaarhoroscoop instead of public/chinese-horoscopen/jaarhoroscoop.</p>
  
  <p>Thanks! </p>