feat: change icons path

This commit is contained in:
st1020 2023-10-22 19:34:00 +08:00
parent fca98a89e7
commit f5faa23856
13 changed files with 26 additions and 73 deletions

View file

@ -37,7 +37,7 @@
{% for social in config.extra.profile.social %}
<a
class="h-8 w-8 text-[0] [background:var(--url)_center_center/cover_no-repeat]"
style="--url: url(./{{ social.name }}.svg)"
style="--url: url(./icons/{{ social.name }}.svg)"
href="{{ social.url }}"
target="_blank"
rel="{% if social.name == `rss` %}alternate{% else %}me{% endif %}"