Skip to content

Commit

Permalink
Add fallback git link for non-provider repos (#3435)
Browse files Browse the repository at this point in the history
  • Loading branch information
sumebrius committed Oct 25, 2023
1 parent 3e0949a commit 49d02e4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mkdocs/themes/readthedocs/versions.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
<span>
<a href="{{ config.repo_url }}" class="icon icon-gitlab" style="color: #fcfcfc"> GitLab</a>
</span>
{% elif config.repo_name %}
<span>
<a href="{{ config.repo_url }}" class="fa fa-code-fork" style="color: #fcfcfc"> {{ config.repo_name }}</a>
</span>
{% endif %}
{% if page.previous_page %}
<span><a href="{{ page.previous_page.url|url }}" style="color: #fcfcfc">&laquo; {% trans %}Previous{% endtrans %}</a></span>
Expand Down

0 comments on commit 49d02e4

Please sign in to comment.