X-Git-Url: https://git.arvados.org/rnaseq-cwl-training.git/blobdiff_plain/337a6e8fa1df0a6f611f479be4cc9b1653443925..e176d3bffaf78fe2882929f7685ccf90da9f4a26:/_includes/episode_navbar.html diff --git a/_includes/episode_navbar.html b/_includes/episode_navbar.html index c2bc80e..5abf86f 100644 --- a/_includes/episode_navbar.html +++ b/_includes/episode_navbar.html @@ -1,27 +1,41 @@ +{% comment %} +For some reason, the relative_root_path seems out of scope in this file, so we +need to re-assign it here +{% endcomment %} + +{% include base_path.html %} + {% comment %} Navigation bar for an episode. {% endcomment %} + +{% include manual_episode_order.html %} +{% comment %} + 'previous_episode' and 'next_episodes' are defined in 'manual_episode_order.html'. + These replace 'page.previous' and 'page.next' objects, correspondingly. +{% endcomment %} +

- {% if page.previous.url %} - previous episode + {% if previous_episode %} + previous episode {% else %} - lesson home + lesson home {% endif %}

{% if include.episode_navbar_title %} -

{{ site.title }}

+

{{ site.title }}

{% endif %}

- {% if page.next.url %} - next episode + {% if next_episode %} + next episode {% else %} - lesson home + lesson home {% endif %}