title: GitHub relative internal repository links in PULL_REQUEST_TEMPLATE.md
body: <p>Using a relative link as directed (<a href="https://help.github.com/articles/about-readmes/#relative-links-and-image-paths-in-readme-files" rel="noreferrer">https://help.github.com/articles/about-readmes/#relative-links-and-image-paths-in-readme-files</a>) in a PULL_REQUEST_TEMPLATE.md does not relatively link correctly.</p>
  
  <p>When viewed in an actual PR:</p>
  
  <ul>
  <li> <code>[CONTRIBUTING.md](/.github/CONTRIBUTING.md)</code>  </li>
  </ul>
  
  <p>routes to: <code>https://github.com/.github/CONTRIBUTING.md</code>.</p>
  
  <ul>
  <li><code>[CONTRIBUTING.md](.github/CONTRIBUTING.md)</code> </li>
  <li> <code>[CONTRIBUTING.md](./.github/CONTRIBUTING.md)</code></li>
  </ul>
  
  <p>route to:
  <code>https://github.com/owner/repo/compare/.github/CONTRIBUTING.md</code></p>
  
  <p>instead of <code>https://github.com/owner/repo/.github/CONTRIBUTING.md</code>.</p>
  
  <p>Changing to <code>../</code> to go up a level would work for PRs, but would break the link when viewed in the GitHub UI.</p>
  
  <p>Clicking the link as viewed on GitHub works: <a href="https://github.com/fs-webdev/fs-dialog/blob/master/.github/PULL_REQUEST_TEMPLATE.md" rel="noreferrer">https://github.com/fs-webdev/fs-dialog/blob/master/.github/PULL_REQUEST_TEMPLATE.md</a>, just not inside a PR.</p>
  
  <p>(I feel like this used to work in 2017)</p>
  
  <p>What is the correct way to have the relative link function as expected in both cases?</p>