X-Git-Url: https://git.arvados.org/rnaseq-cwl-training.git/blobdiff_plain/3474a5ff1e54a0f9c0a26230814729138f65768a..2c6b97e57dce86830bdbde8d9f8a871c0b46a035:/_includes/episode_navbar.html diff --git a/_includes/episode_navbar.html b/_includes/episode_navbar.html index b9f85f6..625407e 100644 --- a/_includes/episode_navbar.html +++ b/_includes/episode_navbar.html @@ -1,27 +1,39 @@ {% comment %} - Navigation bar for an episode. +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 %} - 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 %} + siguiente episodio {% else %} - lesson home + case de lección {% endif %}