{% set repo_icon = config.extra.repo_icon | default("brands/git-alt") %}
{% include "assets/images/icons/fontawesome/" ~ repo_icon ~ ".svg" %}
diff --git a/src/partials/source.html b/src/partials/source.html
index 9f5bda189..08e2c49a4 100644
--- a/src/partials/source.html
+++ b/src/partials/source.html
@@ -22,27 +22,11 @@
{% import "partials/language.html" as lang with context %}
-
-{% set platform = config.repo_url %}
-{% if "github" in platform %}
- {% set repo_type = "github" %}
-{% elif "gitlab" in platform %}
- {% set repo_type = "gitlab" %}
-{% elif "bitbucket" in platform %}
- {% set repo_type = "bitbucket" %}
-{% else %}
- {% set repo_type = "" %}
-{% endif %}
-
{% set repo_icon = config.extra.repo_icon | default("brands/git-alt") %}