fix: avatar_url use get_url

This commit is contained in:
st1020 2023-12-04 19:33:35 +08:00
parent c900940ca2
commit f7731a9083
3 changed files with 3 additions and 3 deletions

View file

@ -34,7 +34,7 @@
{% 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 }}" />
<link rel="preload" as="image" href="{{ get_url(path=config.extra.profile.avatar_url) }}" />
{% endif %}
<!-- Social List -->