mirror of
https://github.com/mkdocs/mkdocs.git
synced 2026-03-27 09:58:31 +07:00
Fix for showing repository icon even when a file has no edit_uri (#3657)
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.
This commit is contained in:
@@ -156,11 +156,11 @@
|
|||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a href="{{ config.repo_url }}" class="nav-link">
|
<a href="{{ config.repo_url }}" class="nav-link">
|
||||||
{%- if config.repo_name == 'GitHub' -%}
|
{%- 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' -%}
|
{%- 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' -%}
|
{%- 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 -%}
|
{%- else -%}
|
||||||
{{ config.repo_name }}
|
{{ config.repo_name }}
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
|
|||||||
Reference in New Issue
Block a user