X-Git-Url: https://git.arvados.org/rnaseq-cwl-training.git/blobdiff_plain/a7566a90286c0edb81f2ad43dd269072f535eb13..2c6b97e57dce86830bdbde8d9f8a871c0b46a035:/_includes/episode_navbar.html diff --git a/_includes/episode_navbar.html b/_includes/episode_navbar.html index 130a4f9..625407e 100644 --- a/_includes/episode_navbar.html +++ b/_includes/episode_navbar.html @@ -1,27 +1,39 @@ {% comment %} Barra de navegación para un episodio. +======= +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 %} + +{% 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 %} - episodio anterior + {% if previous_episode %} + previous episode {% else %} - casa de lección + lesson home {% endif %}

{% if include.episode_navbar_title %} -

{{ site.title }}

+

{{ site.title }}

{% endif %}

- {% if page.next.url %} - siguiente episodio + {% if next_episode %} + siguiente episodio {% else %} - casa de lección + case de lección {% endif %}