diff --git a/_includes/episode_title.html b/_includes/episode_title.html index 7ea24a26c3a06ec56f1dc32d4075589f353bc71a..5b9c821cae653b287ad995116b5af7dccf9a0572 100644 --- a/_includes/episode_title.html +++ b/_includes/episode_title.html @@ -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>