mirror of
https://github.com/SebastianStork/kita.git
synced 2026-01-21 18:01:35 +01:00
fix: preload image in index.html only
This commit is contained in:
parent
933cc3efa5
commit
3d08a0057e
1 changed files with 3 additions and 0 deletions
|
|
@ -31,6 +31,7 @@
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
{% if section.path is defined and section.path == "/" %}
|
||||||
<!-- Avatar -->
|
<!-- Avatar -->
|
||||||
{% if config.extra.profile.avatar_url %}
|
{% if config.extra.profile.avatar_url %}
|
||||||
<link rel="preload" as="image" href="{{ config.extra.profile.avatar_url }}" />
|
<link rel="preload" as="image" href="{{ config.extra.profile.avatar_url }}" />
|
||||||
|
|
@ -44,6 +45,8 @@
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
<!---->
|
<!---->
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
<!---->
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
<!-- Dark Icon -->
|
<!-- Dark Icon -->
|
||||||
<link rel="preload" as="image" href="{{ get_url(path=`theme.svg`) }}" />
|
<link rel="preload" as="image" href="{{ get_url(path=`theme.svg`) }}" />
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue