summaryrefslogtreecommitdiffstats
path: root/theme/mkdocs_windmill/repo-icon.html
diff options
context:
space:
mode:
Diffstat (limited to 'theme/mkdocs_windmill/repo-icon.html')
-rw-r--r--theme/mkdocs_windmill/repo-icon.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/theme/mkdocs_windmill/repo-icon.html b/theme/mkdocs_windmill/repo-icon.html
new file mode 100644
index 0000000..051b9cb
--- /dev/null
+++ b/theme/mkdocs_windmill/repo-icon.html
@@ -0,0 +1,8 @@
+{# Icon specific to the repo type, if available #}
+{%- if config.repo_name == 'GitHub' -%}
+<i class="fa fa-github"></i>
+{% elif config.repo_name == 'Bitbucket' -%}
+<i class="fa fa-bitbucket"></i>
+{% elif config.repo_name == 'GitLab' -%}
+<i class="fa fa-gitlab"></i>
+{% endif -%}