Bläddra i källkod

Added Manifest

Yoginth 7 år sedan
förälder
incheckning
1a5ecdc960
2 ändrade filer med 44 tillägg och 1 borttagningar
  1. 41 0
      public/manifest.json
  2. 3 1
      templates/base/meta.tmpl

+ 41 - 0
public/manifest.json

@@ -0,0 +1,41 @@
+{  
+   "name":"Gitote",
+   "icons":[  
+      {  
+         "sizes":"114x114",
+         "src":"https://cdn.jsdelivr.net/npm/gitote@1.3.5/touch/apple-touch-icon-114x114.png"
+      },
+      {  
+         "sizes":"120x120",
+         "src":"https://cdn.jsdelivr.net/npm/gitote@1.3.5/touch/apple-touch-icon-120x120.png"
+      },
+      {  
+         "sizes":"144x144",
+         "src":"https://cdn.jsdelivr.net/npm/gitote@1.3.5/touch/apple-touch-icon-144x144.png"
+      },
+      {  
+         "sizes":"152x152",
+         "src":"https://cdn.jsdelivr.net/npm/gitote@1.3.5/touch/apple-touch-icon-152x152.png"
+      },
+      {  
+         "sizes":"180x180",
+         "src":"https://cdn.jsdelivr.net/npm/gitote@1.3.5/touch/apple-touch-icon-180x180.png"
+      },
+      {  
+         "sizes":"57x57",
+         "src":"https://cdn.jsdelivr.net/npm/gitote@1.3.5/touch/apple-touch-icon-57x57.png"
+      },
+      {  
+         "sizes":"60x60",
+         "src":"https://cdn.jsdelivr.net/npm/gitote@1.3.5/touch/apple-touch-icon-60x60.png"
+      },
+      {  
+         "sizes":"72x72",
+         "src":"https://cdn.jsdelivr.net/npm/gitote@1.3.5/touch/apple-touch-icon-72x72.png"
+      },
+      {  
+         "sizes":"76x76",
+         "src":"https://cdn.jsdelivr.net/npm/gitote@1.3.5/touch/apple-touch-icon-76x76.png"
+      }
+   ]
+}

+ 3 - 1
templates/base/meta.tmpl

@@ -88,4 +88,6 @@
 <meta property="twitter:description" content="{{.i18n.Tr "description"}}">
 <meta property="twitter:image" content="{{AppURL}}og.png" />
 
-{{end}}
+{{end}}
+
+<link rel="manifest" href="/manifest.json">