Skip to content

Commit

Permalink
Fix for showing repository icon even when a file has no edit_uri (#3657)
Browse files Browse the repository at this point in the history
This needed to be updated when upgrading the mkdocs theme to newer Bootstrap but got missed.

Right now it shows up as a missing glyph.
  • Loading branch information
oprypin committed Apr 20, 2024
1 parent 0ac05da commit bce85bf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mkdocs/themes/mkdocs/base.html
Expand Up @@ -156,11 +156,11 @@
<li class="nav-item">
<a href="{{ config.repo_url }}" class="nav-link">
{%- if config.repo_name == 'GitHub' -%}
<i class="fa fa-github"></i> {{ config.repo_name }}
<i class="fa-brands fa-github"></i> {{ config.repo_name }}
{%- elif config.repo_name == 'Bitbucket' -%}
<i class="fa fa-bitbucket"></i> {{ config.repo_name }}
<i class="fa-brands fa-bitbucket"></i> {{ config.repo_name }}
{%- elif config.repo_name == 'GitLab' -%}
<i class="fa fa-gitlab"></i> {{ config.repo_name }}
<i class="fa-brands fa-gitlab"></i> {{ config.repo_name }}
{%- else -%}
{{ config.repo_name }}
{%- endif -%}
Expand Down

0 comments on commit bce85bf

Please sign in to comment.