From daa378d6964841d9a5c4bc39815d75c672117dea Mon Sep 17 00:00:00 2001 From: 简律纯 Date: Fri, 15 Dec 2023 09:22:24 +0800 Subject: refactor(docs/src): delete `material` dir --- docs/src/templates/partials/social.html | 37 ++++----------------------------- 1 file changed, 4 insertions(+), 33 deletions(-) (limited to 'docs/src/templates/partials/social.html') diff --git a/docs/src/templates/partials/social.html b/docs/src/templates/partials/social.html index 5d2c4017..e59fdae6 100644 --- a/docs/src/templates/partials/social.html +++ b/docs/src/templates/partials/social.html @@ -1,47 +1,18 @@ - - - +{#- + This file was automatically generated - do not edit +-#}
{% for social in config.extra.social %} - - {% set rel = "noopener" %} {% if "mastodon" in social.icon %} {% set rel = rel ~ " me" %} {% endif %} - - {% set title = social.name %} {% if not title and "//" in social.link %} {% set _, url = social.link.split("//") %} {% set title = url.split("/")[0] %} {% endif %} - + {% include ".icons/" ~ social.icon ~ ".svg" %} {% endfor %} -- cgit v1.2.3-70-g09d2