commit 20295547c675f84aee7afb57aa262d554a9fb8fd
parent 5ab9b4821580694d9c5d459c801d5646f85d79e6
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date: Fri, 10 May 2024 16:31:47 +0200
Add Webmanifest
Diffstat:
2 files changed, 33 insertions(+), 0 deletions(-)
diff --git a/manifest.json b/manifest.json
@@ -0,0 +1,31 @@
+{
+ "name":"Videos",
+ "short_name":"Videos",
+ "start_url":"/",
+ "display":"standalone",
+ "scope":"/",
+ "background_color":"#000000",
+ "description":"Newest YOuTube videos of your subscriptions.",
+ "icons":[
+ {
+ "src":"/assets/favicon_16.png",
+ "sizes":"16x16",
+ "type":"image/png"
+ },
+ {
+ "src":"/assets/favicon_32.png",
+ "sizes":"32x32",
+ "type":"image/png"
+ },
+ {
+ "src":"/assets/favicon_64.png",
+ "sizes":"64x64",
+ "type":"image/png"
+ },
+ {
+ "src":"/assets/favicon_128.png",
+ "sizes":"128x128",
+ "type":"image/png"
+ }
+ ]
+}
+\ No newline at end of file
diff --git a/template.html b/template.html
@@ -13,6 +13,7 @@
<link rel="icon" type="image/png" sizes="128x128" href="/assets/favicon_128.png">
<link rel="apple-touch-icon" href="/assets/favicon.png">
<link rel="stylesheet" type="text/css" href="/assets/css/stylesheet.css"/>
+ <link crossorigin="use-credentials" rel="manifest" href="/manifest.json">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
* { scroll-behavior: smooth; }