Skip to content

Commit

Permalink
Fix an issue with the "Become A Data Contributor" button.
Browse files Browse the repository at this point in the history
This relative link was working on 2nd level pages but did not work on
the root level because of the '..' in the path. That's fixed here.
  • Loading branch information
mehaase committed Mar 5, 2024
1 parent 67d83b7 commit 66d1317
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/_templates/breadcrumbs.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
</ul>
</li>

<a class="knowledge-base-edit-guidelines" id="contribute-button" href="../contribute/">
<a class="knowledge-base-edit-guidelines" id="contribute-button"
href="{%- if pagename == 'index' -%}./contribute{%- else -%}../contribute{%- endif -%}">
<i class="fa fa-file-text" aria-hidden="true"></i>
Become a Data Contributor </a>
{% endif %}
Expand Down

0 comments on commit 66d1317

Please sign in to comment.