diff options
author | Marc Pervaz Boocha <mboocha@sudomsg.xyz> | 2022-01-08 17:27:42 +0530 |
---|---|---|
committer | Marc Pervaz Boocha <mboocha@sudomsg.xyz> | 2022-01-08 17:27:42 +0530 |
commit | 5aeaf2f352e7da0a0d55a7ad2cd7dbd3869b875a (patch) | |
tree | bbca1d1fa46fb810d9974484572de5a9bfac54b8 /src/assets/manifest.njk | |
parent | make it ready to deploy (diff) | |
download | sudomsg-5aeaf2f352e7da0a0d55a7ad2cd7dbd3869b875a.tar sudomsg-5aeaf2f352e7da0a0d55a7ad2cd7dbd3869b875a.tar.gz sudomsg-5aeaf2f352e7da0a0d55a7ad2cd7dbd3869b875a.tar.bz2 sudomsg-5aeaf2f352e7da0a0d55a7ad2cd7dbd3869b875a.tar.lz sudomsg-5aeaf2f352e7da0a0d55a7ad2cd7dbd3869b875a.tar.xz sudomsg-5aeaf2f352e7da0a0d55a7ad2cd7dbd3869b875a.tar.zst sudomsg-5aeaf2f352e7da0a0d55a7ad2cd7dbd3869b875a.zip |
add service worker
Diffstat (limited to 'src/assets/manifest.njk')
-rw-r--r-- | src/assets/manifest.njk | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/assets/manifest.njk b/src/assets/manifest.njk new file mode 100644 index 0000000..3942d06 --- /dev/null +++ b/src/assets/manifest.njk @@ -0,0 +1,29 @@ +--- +permalink: /app.webmanifest +--- +{ + "$schema": "https://json.schemastore.org/web-manifest-combined.json", + "name": "{{ metadata.title }}", + + "lang": "en-GB", + "start_url": "{{ '/' | url }}", + "id": "{{ '/' | url }}", + "scope": "{{ '/' | url }}", + "display": "minimal-ui", + "background_color": "red", + "theme_color": "red", + "description": "{{ metadata.description }}", + "icons": [ + { + "src": "{{ '/favicon.ico' | url }}", + "sizes": "256x256", + "type": "image/vnd.microsoft.icon" + }, + { + "src": "{{ '/favicon.svg' | url }}", + "sizes": "any", + "type": "image/svg+xml" + } + ] + +} |