Commit 62b5dbc2 authored by Rémi Emonet's avatar Rémi Emonet
Browse files

Switch to relative: in episode_title, use page.root + rewrite

parent 791dcc3e
......@@ -20,26 +20,22 @@
<div class="col-md-1">
<h3>
{% if prev_episode %}
<a href="{{ site.github.url }}{{ prev_episode.url }}"><span class="glyphicon glyphicon-menu-left"></span></a>
{% elsif site.github.url %}
<a href="{{ site.github.url }}"><span class="glyphicon glyphicon-menu-up"></span></a>
<a href="{{ page.root }}{{ prev_episode.url }}"><span class="glyphicon glyphicon-menu-left"></span></a>
{% else %}
<a href="/"><span class="glyphicon glyphicon-menu-up"></span></a>
<a href="{{ page.root }}"><span class="glyphicon glyphicon-menu-up"></span></a>
{% endif %}
</h3>
</div>
<div class="col-md-10">
<h3 class="maintitle"><a href="{{ site.github.url }}/">{{ site.title }}</a></h3>
<h3 class="maintitle"><a href="{{ page.root }}/">{{ site.title }}</a></h3>
<h1 class="maintitle">{{ page.title }}</h1>
</div>
<div class="col-md-1">
<h3>
{% if next_episode %}
<a href="{{ site.github.url }}{{ next_episode.url }}"><span class="glyphicon glyphicon-menu-right"></span></a>
{% elsif site.github.url %}
<a href="{{ site.github.url }}"><span class="glyphicon glyphicon-menu-up"></span></a>
<a href="{{ page.root }}{{ next_episode.url }}"><span class="glyphicon glyphicon-menu-right"></span></a>
{% else %}
<a href="/"><span class="glyphicon glyphicon-menu-up"></span></a>
<a href="{{ page.root }}"><span class="glyphicon glyphicon-menu-up"></span></a>
{% endif %}
</h3>
</div>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment