title: Why is the path to an image changing in my shared nav bar?
body: <p>I am building a static site in jekyll with a shared navigation bare in the <code>_includes</code> folder (<code>_nav.html</code>)</p>
  
  <p>It includes an svg of a logo. Whenever I navigate to the documentation page, the site cannot find the logo.</p>
  
  <p>On all other pages the navigation to the logo is</p>
  
  <pre><code>assets/img/logo.svg
  </code></pre>
  
  <p>But when I inspect the missing element on the docs page the path has changed to</p>
  
  <pre><code>docs/assets/img/logo.svg
  </code></pre>
  
  <p>I noticed that the url for the docs page is <code>localhost:4000/docs/</code> but all the others do not end in with the <code>/</code>.</p>
  
  <p>I have set up the links in my <code>config.yml</code> file:</p>
  
  <pre><code>global_nav:
    - title: Home
      id: home
    - title: Documentation
      id: docs
    - title: Support
      id: support
  </code></pre>
  
  <p>I have run <code>jekyll clean</code> to clear caches but nothing has worked.</p>