Skip to content

Commit acd972d

Browse files
committed
add favicon
1 parent 918d449 commit acd972d

File tree

4 files changed

+12
-1
lines changed

4 files changed

+12
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ _site
33
.jekyll-cache
44
.jekyll-metadata
55
vendor
6+
.bundle

_layouts/default.html

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,16 @@
1010
<link rel="preload" as="font" href="/assets/fonts/iosevka-regular.woff2" type="font/woff2" crossorigin="anonymous">
1111
<link rel="preload" as="script" href="/assets/scripts/palette.js">
1212
<link rel="stylesheet" href="/assets/styles/styles.css">
13+
<link
14+
href="/assets/favicon-light.png"
15+
rel="icon"
16+
media="(prefers-color-scheme: light)"
17+
/>
18+
<link
19+
href="/assets/favicon-dark.png"
20+
rel="icon"
21+
media="(prefers-color-scheme: dark)"
22+
/>
1323
</head>
1424
<body>
1525
{% include nav.html %}
@@ -22,4 +32,4 @@
2232
{% include footer.html %}
2333
</div>
2434
</body>
25-
</html>
35+
</html>

assets/favicon-dark.png

580 Bytes
Loading

assets/favicon-light.png

560 Bytes
Loading

0 commit comments

Comments
 (0)