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

@ -41,7 +41,7 @@
{% if config.extra.profile.social %}
<!---->
{% for social in config.extra.profile.social %}
<link rel="preload" as="image" href="{{ get_url(path=social.name ~ `.svg`) }}" />
<link rel="preload" as="image" href="{{ get_url(path=`icons/` ~ social.name ~ `.svg`) }}" />
{% endfor %}
<!---->
{% endif %}
@ -49,7 +49,7 @@
{% endif %}
<!-- Dark Icon -->
<link rel="preload" as="image" href="{{ get_url(path=`theme.svg`) }}" />
<link rel="preload" as="image" href="{{ get_url(path=`icons/` ~ `theme.svg`) }}" />
<!-- Math -->
{% if page.extra.math | default(value=config.extra.math) %}