From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NO_DNS_FOR_FROM,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 Received: from localhost.localdomain (unknown [182.1.51.210]) by gnuweeb.org (Postfix) with ESMTPSA id 2D7AE81214; Sat, 22 Oct 2022 07:23:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1666423425; bh=59n/oo5bkc7gHY577uRvgcbT5lRAcEMMQP4o6Mg4ffY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=L34AGGBfTN2JJkQx9scCGIeT3jAp+acCHX6nJ9boJxfKnS8tRmucB/MFHkB5ao7zC W+k0KgKd5vsase7qzVtNQ5QnRcIWx7VI793Su9xbJzQyzcdA+53Rch1HZtdToon/vu bFpmhnh22lOsU0tT3U4U+SX5brDuf04bx1p21t/u34afHrJlOEo/VT//Qo1Harw95s JY9AxC9arUO94W4QPTjGgeJC+DhoZfhD9Pr5f7GnY+sO0pLdNXwRCoDDqNx2Pp8CfJ twZVGeckkTj9Gh5mf7U4vqARsSHW55X6DSBSx+ngb5RXDKbYu+x0BKb6wMPzkt5Uc5 3d5Nl1XuIoW0w== From: Memet Zx To: GNU/Weeb Mailing List Cc: Ammar Faizi , Irvan Malik , Memet Zx Subject: [PATCH website v1 2/7] rename file manifest to nunjucks format Date: Sat, 22 Oct 2022 14:23:29 +0700 Message-Id: <20221022072334.230479-3-zxce3@gnuweeb.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221022072334.230479-1-zxce3@gnuweeb.org> References: <20221022072334.230479-1-zxce3@gnuweeb.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: From: Memet Zx when using JSON, the file is not detected and can't rendered to the public directory so i reformatted using nunjucks and put the permalink into manifest.json Signed-off-by: Memet Zx --- _source/manifest.json | 0 _source/manifest.njk | 54 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) delete mode 100644 _source/manifest.json create mode 100644 _source/manifest.njk diff --git a/_source/manifest.json b/_source/manifest.json deleted file mode 100644 index e69de29..0000000 diff --git a/_source/manifest.njk b/_source/manifest.njk new file mode 100644 index 0000000..f5e992a --- /dev/null +++ b/_source/manifest.njk @@ -0,0 +1,54 @@ +--- +permalink: /manifest.json +--- +{ + "$schema": "https://json.schemastore.org/web-manifest-combined.json", + "name": "{{ site.title }}", + "short_name": "{{ site.name }}", + "start_url": ".", + "display": "standalone", + "background_color": "#fff", + "description": "{{ site.description }}", + "icons": [ + { + "src": "assets/favicon/android-icon-36x36.png", + "sizes": "36x36", + "type": "image\/png", + "density": "0.75" + }, + { + "src": "assets/favicon/android-icon-48x48.png", + "sizes": "48x48", + "type": "image\/png", + "density": "1.0" + }, + { + "src": "assets/favicon/android-icon-72x72.png", + "sizes": "72x72", + "type": "image\/png", + "density": "1.5" + }, + { + "src": "assets/favicon/android-icon-96x96.png", + "sizes": "96x96", + "type": "image\/png", + "density": "2.0" + }, + { + "src": "assets/favicon/android-icon-144x144.png", + "sizes": "144x144", + "type": "image\/png", + "density": "3.0" + }, + { + "src": "assets/favicon/android-icon-192x192.png", + "sizes": "192x192", + "type": "image\/png", + "density": "4.0" + } + ], + "related_applications": [{ + "platform": "play", + "url": "https://play.google.com/store/apps/details?id=cheeaun.hackerweb" + }] +} -- Memet Zx