Skip to content

Commit 1226e66

Browse files
committed
Allow favicons to be loaded on non-root paths
Signed-off-by: Sora Morimoto <[email protected]>
1 parent ce9b9f6 commit 1226e66

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

_layouts/default.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
<link rel="alternate" hreflang="ru" href="https://tc39.es/ru/" />
1414
<link rel="alternate" hreflang="zh-Hans" href="https://tc39.es/zh-Hans/" />
1515
<link rel="alternate" hreflang="x-default" href="https://tc39.es/" />
16-
<link rel="icon" type="image/x-icon" href="favicon.ico" />
17-
<link rel="icon" type="image/png" href="favicon-32x32.png" sizes="32x32" />
18-
<link rel="icon" type="image/png" href="favicon-16x16.png" sizes="16x16" />
16+
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
17+
<link rel="icon" type="image/png" href="/favicon-32x32.png" sizes="32x32" />
18+
<link rel="icon" type="image/png" href="/favicon-16x16.png" sizes="16x16" />
1919
<script type="application/ld+json">
2020
{
2121
"@context": "https://schema.org",
@@ -31,7 +31,7 @@
3131
<link rel="stylesheet" href="{{ '/assets/css/normalize.css' | url }}" />
3232
<link
3333
rel="stylesheet"
34-
href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | url}}"
34+
href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | url }}"
3535
/>
3636
<script
3737
defer

0 commit comments

Comments
 (0)