Replace page.root (#310)
[rnaseq-cwl-training.git] / _includes / main_title.html
index d007abae203592c924f78bd178f2d22538214e07..592f880b04d7722eda544cdc07abecd9de304c99 100644 (file)
@@ -1,4 +1,4 @@
 {% comment %}
   Main title for lesson pages.
 {% endcomment %}
-<h1 class="maintitle"><a href="{{ page.root }}{% link index.md %}">{{ site.title }}</a>{% if page.title %}: {{ page.title }}{% endif %}</h1>
+<h1 class="maintitle"><a href="{{ relative_root_path }}{% link index.md %}">{{ site.title }}</a>{% if page.title %}: {{ page.title }}{% endif %}</h1>