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.62.32]) by gnuweeb.org (Postfix) with ESMTPSA id 23D2C81320; Sat, 22 Oct 2022 08:32:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1666427578; bh=X9cvQ1ZHdZPnCBeaEYY4KX0vGhRtPFy4H3FkqtdzIK8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=tHNgBPVsxsoJ/CFjYF1ZoWYQjIopb+7BUqTBUSu82OmGvAwq5XMNHSr7vAQ1+XRts sfKq+o7ct/IEBcj+RlO9JUusCMX0/opgTTXMX7yodJcPIc2fqUsTQQA8+j/aBZ094U TD3L3TIy/RmzXXKPhxUong1PAyNqjLd2Gwc6+JloVWgk3+CfK8AuyklYebc4B9BY6i iF3RWZmA6svc5QXOmbvXbgX/KhYFT6renrOBLVaibwSw0sBeamGXCQB7DLmW3xh3IE WYKNlWQQs2MRbE+b1scsrYm+q0sSvZnaRJCWXibAf+V4tCp6MbxubkGr3wI1Qdcb74 nQgS7PoUW3dkw== From: Memet Zx To: GNU/Weeb Mailing List Cc: Ammar Faizi , Irvan Malik , Memet Zx Subject: [PATCH website v2 2/7] rename file manifest to nunjucks format Date: Sat, 22 Oct 2022 15:32:42 +0700 Message-Id: <20221022083247.235518-3-zxce3@gnuweeb.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221022083247.235518-1-zxce3@gnuweeb.org> References: <20221022083247.235518-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 | 19 +++++++++++++++++++ 2 files changed, 19 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..f810eee --- /dev/null +++ b/_source/manifest.njk @@ -0,0 +1,19 @@ +--- +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/favicon.ico", + "sizes": "16x16", + "type": "image\/ico", + "density": "0.75" + }] +} -- Memet Zx