summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClément <le.mikmac@gmail.com>2021-03-21 19:14:10 +0000
committerGitHub <noreply@github.com>2021-03-21 15:14:10 -0400
commit7d09a82263711b784c85a5fc7ecaba0ff91bdefc (patch)
treed0d37b4f9ff5554246557db5efbe67ae35e43437
parent8784eb4987e7da660fcff3aef142c9688a7e864d (diff)
downloadbased.cooking-7d09a82263711b784c85a5fc7ecaba0ff91bdefc.tar
based.cooking-7d09a82263711b784c85a5fc7ecaba0ff91bdefc.tar.gz
based.cooking-7d09a82263711b784c85a5fc7ecaba0ff91bdefc.tar.lz
based.cooking-7d09a82263711b784c85a5fc7ecaba0ff91bdefc.tar.xz
based.cooking-7d09a82263711b784c85a5fc7ecaba0ff91bdefc.zip
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.
-rw-r--r--templates/header.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/header.html b/templates/header.html
index 13a971be9..71ede1005 100644
--- a/templates/header.html
+++ b/templates/header.html
@@ -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."