diff --git a/material/base.html b/material/base.html index 2d2411363..4d4f89d19 100644 --- a/material/base.html +++ b/material/base.html @@ -30,7 +30,7 @@ {% endif %} {% endblock %} {% block libs %} - + {% endblock %} {% block fonts %} {% include "partials/fonts.html" %} diff --git a/material/partials/source.html b/material/partials/source.html index 5c4a66e4b..46d2c6728 100644 --- a/material/partials/source.html +++ b/material/partials/source.html @@ -1,4 +1,4 @@ -{% set platform = config.repo_url %} +{% set platform = config.extra.repo_icon or config.repo_url %} {% if "github" in platform %} {% set repo_type = "github" %} {% elif "gitlab" in platform %} diff --git a/src/partials/source.html b/src/partials/source.html index f41487505..c2194ba35 100644 --- a/src/partials/source.html +++ b/src/partials/source.html @@ -24,7 +24,7 @@ Check whether the repository is hosted on one of the supported code hosting platforms (Github, Gitlab or Bitbucket) to show icon. --> -{% set platform = config.repo_url %} +{% set platform = config.extra.repo_icon or config.repo_url %} {% if "github" in platform %} {% set repo_type = "github" %} {% elif "gitlab" in platform %}