mirror of
https://github.com/SebastianStork/kita.git
synced 2026-01-21 18:01:35 +01:00
feat: support Simple Icons for social icons
This commit is contained in:
parent
01e0b32dcf
commit
968ba4178a
14 changed files with 14 additions and 24 deletions
|
|
@ -24,7 +24,7 @@
|
|||
{% for social in config.extra.profile.social %}
|
||||
<a
|
||||
class="primary-link h-8 w-8 text-[0] [background:var(--url)_center_center/cover_no-repeat]"
|
||||
style="--url: url(./icons/{{ social.name }}.svg)"
|
||||
style="--url: url({{ macros::get_social_icon(icon=social.name) }})"
|
||||
href="{{ social.url | replace(from=`$BASE_URL`, to=config.base_url) | safe }}"
|
||||
target="_blank"
|
||||
rel="{% if social.name == `rss` %}alternate{% else %}me{% endif %}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue