mirror of
https://github.com/SebastianStork/kita.git
synced 2026-01-21 14:31: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>
|
||||
|
||||
{% if section.path is defined and section.path == "/" %}
|
||||
<!-- Avatar -->
|
||||
{% if config.extra.profile.avatar_url %}
|
||||
<link rel="preload" as="image" href="{{ config.extra.profile.avatar_url }}" />
|
||||
|
|
@ -44,6 +45,8 @@
|
|||
{% endfor %}
|
||||
<!---->
|
||||
{% endif %}
|
||||
<!---->
|
||||
{% endif %}
|
||||
|
||||
<!-- Dark Icon -->
|
||||
<link rel="preload" as="image" href="{{ get_url(path=`theme.svg`) }}" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue