Skip to content

Commit

Permalink
fix FAQ link on topic pages
Browse files Browse the repository at this point in the history
  • Loading branch information
shiltemann committed Mar 23, 2021
1 parent 671ea87 commit fc34a54
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion _includes/help.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,15 @@
<a class="dropdown-item" href="{{ site.baseurl }}/faq" title="Check our FAQs">
{% icon question %} FAQs
</a>
{% if topic or page.layout == 'topic' %}
{% if topic %}
<a class="dropdown-item" href="{{ site.baseurl }}/topics/{{topic.name}}/faqs/" title="Check our FAQs for the {{topic.title}} topic">
{% icon question %} Topic FAQs
</a>
{% elsif page.layout == 'topic' %}
<a class="dropdown-item" href="{{ site.baseurl }}/topics/{{page.topic_name}}/faqs/" title="Check our FAQs for the {{page.topic_title}} topic">
{% icon question %} Topic FAQs
</a>

{% endif %}
<a class="dropdown-item" href="{{ site.help_url }}" title="Discuss on Galaxy Help">
{% icon feedback %} Galaxy Help Forum
Expand Down

0 comments on commit fc34a54

Please sign in to comment.