mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-11-12 01:50:52 +01:00
18 lines
586 B
HTML
18 lines
586 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 title = social.name %}
|
|
{% if not title and "//" in social.link %}
|
|
{% set _,url = social.link.split("//") %}
|
|
{% set title = url.split("/")[0] %}
|
|
{% endif %}
|
|
<a href="{{ social.link }}" target="_blank" rel="noopener" title="{{ title }}" class="md-footer-social__link">
|
|
{% include ".icons/" ~ social.icon ~ ".svg" %}
|
|
</a>
|
|
{% endfor %}
|
|
</div>
|
|
{% endif %}
|