Here’s how I coaxed jekyll into allowing me to link to external content with a single line of javascript.

Jekyll is hard, html is easy

For some reason jekyll doesn’t like putting links to external content within the navbar. I fixed this with a little bit of javascript.

Edit yourlink.html

% yourlink
<!DOCTYPE html>
      <script type="text/javascript"> 

      You're being redirected to 
      <a href=""></a>. 
      If the page doesn't load automatically please click the link.

Edit your _config.yml

  - index.markdown
  - yourlink.html