This commit is contained in:
Justin Ethier 2016-04-15 21:01:22 -04:00
parent 683ab130b4
commit 6f57912f5c
2 changed files with 7 additions and 1 deletions

6
_includes/base.html Normal file
View file

@ -0,0 +1,6 @@
{% assign base = '' %}
{% assign depth = page.url | split: '/' | size | minus: 1 %}
{% if depth == 1 %}{% assign base = '.' %}
{% elsif depth == 2 %}{% assign base = '..' %}
{% elsif depth == 3 %}{% assign base = '../..' %}
{% elsif depth == 4 %}{% assign base = '../../..' %}{% endif %}

View file

@ -6,7 +6,7 @@
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<meta name="description" content="Cyclone : Cyclone Scheme - Cheney on the M.T.A. with native threads.">
<link rel="stylesheet" type="text/css" media="screen" href="../stylesheets/stylesheet.css">
<link rel="stylesheet" type="text/css" media="screen" href="{{ page.path }}stylesheets/stylesheet.css">
<title>Cyclone</title>
</head>