mirror of
https://github.com/SebastianStork/kita.git
synced 2026-01-21 14:31: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
|
|
@ -1,3 +1,4 @@
|
|||
{% import "macros.html" as macros %}
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
|
|
@ -68,7 +69,7 @@
|
|||
{% if config.extra.profile.social %}
|
||||
<!---->
|
||||
{% for social in config.extra.profile.social %}
|
||||
<link rel="preload" as="image" href="{{ get_url(path=`icons/` ~ social.name ~ `.svg`) }}" />
|
||||
<link rel="preload" as="image" href="{{ macros::get_social_icon(icon=social.name) }}" />
|
||||
{% endfor %}
|
||||
<!---->
|
||||
{% endif %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue