1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-12-23 04:44:56 +01:00
mkdocs-material/material/partials/social.html
2020-03-09 21:14:47 +01:00

15 lines
483 B
HTML

{#-
This file was automatically generated - do not edit
-#}
{% if config.extra.social %}
<div class="md-footer-social">
{% for social in config.extra.social %}
{% set _,rest = social.link.split("//") %}
{% set domain = rest.split("/")[0] %}
<a href="{{ social.link }}" target="_blank" rel="noopener" title="{{ domain }}" class="md-footer-social__link">
{% include ".icons/" ~ social.icon ~ ".svg" %}
</a>
{% endfor %}
</div>
{% endif %}