Skip to content

Commit

Permalink
[fix carpentries/workshop-template#513] remove site.title outside
Browse files Browse the repository at this point in the history
lessons
  • Loading branch information
fmichonneau committed Oct 11, 2019
1 parent e176d3b commit 26e9bee
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions _includes/main_title.html
Expand Up @@ -4,4 +4,11 @@

{% include base_path.html %}

{% if site.kind == "lesson" %}
<h1 class="maintitle"><a href="{{ relative_root_path }}{% link index.md %}">{{ site.title }}</a>{% if page.title %}: {{ page.title }}{% endif %}</h1>

{% else %}

<h1 class="maintitle">{{ page.title }}</h1>

{% endif %}

0 comments on commit 26e9bee

Please sign in to comment.