Relative links in Jekyll
{% capture lvl %}{{ page.url | append:'index.html' | split:'/' | size }}{% endcapture %}
{% capture relative %}{% for i in (3..lvl) %}../{% endfor %}{% endcapture %}
{% comment %} note the {{ relative }} tag in the URL below {% endcomment %}
<link rel='stylesheet' href='{{ relative }}css/screen.css'>