Fix links

This commit is contained in:
Justin Ethier 2016-04-15 22:18:12 -04:00
parent 24ee5e5bd4
commit d34f41a549
2 changed files with 7 additions and 7 deletions

View file

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

View file

@ -7,7 +7,7 @@
<meta http-equiv="X-UA-Compatible" content="chrome=1"> <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."> <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="{{ base }}/stylesheets/stylesheet.css"> <link rel="stylesheet" type="text/css" media="screen" href="{{ base }}stylesheets/stylesheet.css">
<title>Cyclone</title> <title>Cyclone</title>
</head> </head>
@ -20,8 +20,8 @@
<a id="forkme_banner" href="https://github.com/justinethier/cyclone">View on GitHub</a> <a id="forkme_banner" href="https://github.com/justinethier/cyclone">View on GitHub</a>
<h1 id="project_title"> <h1 id="project_title">
<a href="{{ base }}/index"> <a href="{{ base }}index">
<img src="{{ base }}/docs/images/cyclone-logo-04-header.png" <img src="{{ base }}docs/images/cyclone-logo-04-header.png"
alt="Cyclone"> alt="Cyclone">
</a> </a>
</h1> </h1>