mkdocs-material/material/partials/social.html

18 lines
590 B
HTML
Raw Normal View History

2019-09-28 20:42:54 +03:00
{#-
This file was automatically generated - do not edit
-#}
{% if config.extra.social %}
<div class="md-footer-social">
{% for social in config.extra.social %}
{% set title = social.name %}
{% if not title and "//" in social.link %}
{% set _,url = social.link.split("//") %}
{% set title = url.split("/")[0] %}
{% endif %}
2020-10-04 15:24:43 +03:00
<a href="{{ social.link }}" target="_blank" rel="noopener" title="{{ title | e }}" class="md-footer-social__link">
{% include ".icons/" ~ social.icon ~ ".svg" %}
</a>
{% endfor %}
</div>
{% endif %}