From: Memet Zx <[email protected]>
To: GNU/Weeb Mailing List <[email protected]>
Cc: Ammar Faizi <[email protected]>,
Irvan Malik <[email protected]>,
Memet Zx <[email protected]>
Subject: [PATCH website v1 2/7] rename file manifest to nunjucks format
Date: Sat, 22 Oct 2022 14:23:29 +0700 [thread overview]
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
From: Memet Zx <[email protected]>
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 <[email protected]>
---
_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
next prev parent reply other threads:[~2022-10-22 7:23 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-22 7:23 [PATCH website v1 0/7] add meta tag and favicon Memet Zx
2022-10-22 7:23 ` [PATCH website v1 1/7] remove author data and template Memet Zx
2022-10-22 7:23 ` Memet Zx [this message]
2022-10-22 7:23 ` [PATCH website v1 4/7] add meta tag list file Memet Zx
2022-10-22 7:23 ` [PATCH website v1 5/7] add config for favicon Memet Zx
2022-10-22 7:23 ` [PATCH website v1 6/7] refactoring head Memet Zx
2022-10-22 7:23 ` [PATCH website v1 7/7] add images on data site Memet Zx
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox