Skip to content

Commit 5821452

Browse files
committed
Make sure avatarurl fallback still works
1 parent de67603 commit 5821452

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

_includes/site-favicons.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
<link rel="icon" type="image/png" href="{{ icon[1] }}" sizes="{{ icon[0] }}x{{ icon[0] }}">
44
{% endfor %}
55
{% endif %}
6-
<link rel="shortcut icon" href="{{ site.avatarurl | default: site.logo }}">
6+
<link rel="shortcut icon" href="{{ site.avatarurl + '?s=32' | default: site.logo }}">

_layouts/default.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<link rel="stylesheet" href="{{ "/assets/styles.css" | relative_url }}">
3131
{% endif %}
3232

33-
{% if site.favicons %}{% include site-favicons.html %}{% endif %}
33+
{% if site.favicons or site.avatarurl %}{% include site-favicons.html %}{% endif %}
3434

3535
{% if site.google_analytics %}{% include site-analytics.html %}{% endif %}
3636

0 commit comments

Comments
 (0)