I am trying to update a site built using Jekyll but I am having an issue with links in the HTML not working. Here is the start of the header for the header.html file:
<div id="primary-header" class="{{include.class_name}}">
<div class="container">
<div class="row">
<div class="logo-wrap">
<a href="/">
<img src="/img/logos/header-logo.png" alt="Logo">
</a>
</div>
The project resides in /Volumes/Holder/Work/Projects/c4 The header-logo.png resides in /Volumes/Holder/Work/Projects/c4/img/logos/header-logo.png The file I am loading in my browser is /Volumes/Holder/Work/Projects/c4/index.html
For some reason when I display this file on my computer (OSX 10.9.4) it will not recognize files indicated by the "/img". If I remove the "/" it will find the file with no issue but this isn't an effective solution as there are a hundred or so of the leading "/" through out several files.
I know that if I remove the "/" it will find the correct file and display properly but how do I get it to find the indicated file without removing the leading "/" ?