Skip to content

Commit

Permalink
excludes registration confirmation page from extras menu
Browse files Browse the repository at this point in the history
  • Loading branch information
maneesha committed Oct 8, 2019
1 parent 7e73f8e commit dc1b52a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion _includes/navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,13 @@
<ul class="dropdown-menu">
<li><a href="{{ relative_root_path }}{% link reference.md %}">Reference</a></li>
{% for extra in site.extras %}
<li><a href="{{ relative_root_path }}{{ extra.url }}">{{ extra.title }}</a></li>

{% unless extra.exclude %}

<li><a href="{{ relative_root_path }}{{ extra.url }}">{{ extra.title }}</a></li>

{% endunless %}

{% endfor %}
</ul>
</li>
Expand Down

0 comments on commit dc1b52a

Please sign in to comment.