mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2026-07-23 14:23:39 -04:00
Fixed error when only setting a single icon
This commit is contained in:
@@ -29,7 +29,8 @@
|
||||
class="md-source"
|
||||
>
|
||||
<div class="md-source__icon md-icon">
|
||||
{% include ".icons/" ~ config.theme.icon.repo ~ ".svg" %}
|
||||
{% set icon = config.theme.icon.repo or "fontawesome/brands/git-alt" %}
|
||||
{% include ".icons/" ~ icon ~ ".svg" %}
|
||||
</div>
|
||||
<div class="md-source__repository">
|
||||
{{ config.repo_name }}
|
||||
|
||||
Reference in New Issue
Block a user