Fix broken links for github page website (#1340)

JerryScript-DCO-1.0-Signed-off-by: Ryan Youngtae Seo ryan@cworkers.kr
This commit is contained in:
Ryan y. Seo
2016-09-12 21:58:50 +09:00
committed by Tilmann Scheller
parent c19318b057
commit 7dcd1e5e9f
9 changed files with 36 additions and 29 deletions
+5 -5
View File
@@ -7,14 +7,14 @@
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="{{ site.baseurl }}/"><b>JerryScript</b></a>
<a class="navbar-brand" href="{{ site.github.url }}/"><b>JerryScript</b></a>
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav">
{% if page.url == "/" %}
<li class="active"><a href="{{ site.baseurl }}/">Home</a></li>
<li class="active"><a href="{{ site.github.url }}/">Home</a></li>
{% else %}
<li><a href="{{ site.baseurl }}/">Home</a></li>
<li><a href="{{ site.github.url }}/">Home</a></li>
{% endif %}
<li><a href="http://github.com/Samsung/jerryscript">View on Github</a></li>
<li><a href="http://www.iotjs.net">Powering <b>IoT.js</b></a></li>
@@ -23,9 +23,9 @@
{% for p in site.pages %}
{% if p.title %}
{% if page.url == p.url %}
<li class="active"><a href="{{ p.url | prepend: site.baseurl }}" >{{ p.title }}</a></li>
<li class="active"><a href="{{ p.url | prepend: site.github.url }}" >{{ p.title }}</a></li>
{% else %}
<li><a href="{{ p.url | prepend: site.baseurl }}" >{{ p.title }}</a></li>
<li><a href="{{ p.url | prepend: site.github.url }}" >{{ p.title }}</a></li>
{% endif %}
{% endif %}
{% endfor %}