Add a lightweight inline favicon (#256)

Browser will query for a favicon if none were specified.
Using emoji and SVG we can create a very light favicon that is still descriptive of the website and avoid having one more request done to the server for nothing.
This commit is contained in:
Clément 2021-03-21 19:14:10 +00:00 committed by GitHub
parent 8784eb4987
commit 7d09a82263
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,6 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🍳</text></svg>">
<link rel="stylesheet" href="./style.css">
<title>$PAGE_TITLE</title>
<meta name="description" content="Only Based cooking. No ads, no tracking, nothing but based cooking."