commit ddd0413aa9c5871c2b225a230da7d35e1f581dae
parent 0338d56acc297598b3096eec4f2c1936621f2cc0
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date: Tue, 6 Aug 2024 15:07:27 +0200
feat: add favicon
Diffstat:
8 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
@@ -36,6 +36,7 @@ Copy the index and 404 page to the web-root:
```bash
cp index.html /var/www/pastesrv/paste/index.html
cp 404.html /var/www/pastesrv/paste/404.html
+cp -r assets /var/www/pastesrv/paste/assets
```
**Alternatively** you can also use the `index.php` file for your index page,
diff --git a/assets/img/favicon.ico b/assets/img/favicon.ico
Binary files differ.
diff --git a/assets/img/favicon_128.png b/assets/img/favicon_128.png
Binary files differ.
diff --git a/assets/img/favicon_16.png b/assets/img/favicon_16.png
Binary files differ.
diff --git a/assets/img/favicon_32.png b/assets/img/favicon_32.png
Binary files differ.
diff --git a/assets/img/favicon_64.png b/assets/img/favicon_64.png
Binary files differ.
diff --git a/index.html b/index.html
@@ -5,7 +5,12 @@
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
- <link rel="stylesheet" type="text/css" href="/assets/css/simple.min.css" />
+ <link rel=stylesheet type=text/css href=/assets/css/simple.min.css />
+ <link rel=icon href=/assets/img/favicon.ico>
+ <link rel=icon type=img/png sizes=128x128 href=/assets/img/favicon_128.png>
+ <link rel=icon type=img/png sizes=64x64 href=/assets/img/favicon_64.png>
+ <link rel=icon type=img/png sizes=32x32 href=/assets/img/favicon_32.png>
+ <link rel=icon type=img/png sizes=16x16 href=/assets/img/favicon_16.png>
<title>pastesrv</title>
</head>
diff --git a/index.php b/index.php
@@ -5,7 +5,12 @@
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
- <link rel="stylesheet" type="text/css" href="/assets/css/simple.min.css" />
+ <link rel=stylesheet type=text/css href=/assets/css/simple.min.css />
+ <link rel=icon href=/assets/img/favicon.ico>
+ <link rel=icon type=img/png sizes=128x128 href=/assets/img/favicon_128.png>
+ <link rel=icon type=img/png sizes=64x64 href=/assets/img/favicon_64.png>
+ <link rel=icon type=img/png sizes=32x32 href=/assets/img/favicon_32.png>
+ <link rel=icon type=img/png sizes=16x16 href=/assets/img/favicon_16.png>
<title>pastesrv</title>
</head>