public inbox for [email protected]
 help / color / mirror / Atom feed
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 v2 2/7] rename file manifest to nunjucks format
Date: Sat, 22 Oct 2022 15:32:42 +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  | 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


  parent reply	other threads:[~2022-10-22  8:32 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-22  8:32 [PATCH website v2 0/7] Add meta tag and favicon Memet Zx
2022-10-22  8:32 ` [PATCH website v2 1/7] remove author data and template Memet Zx
2022-10-22  8:32 ` Memet Zx [this message]
2022-10-22  8:32 ` [PATCH website v2 3/7] add favicon images Memet Zx
2022-10-22  8:32 ` [PATCH website v2 4/7] add meta tag list file Memet Zx
2022-10-22  8:32 ` [PATCH website v2 5/7] add config for favicon Memet Zx
2022-10-22  8:32 ` [PATCH website v2 6/7] refactoring head Memet Zx
2022-10-22  8:32 ` [PATCH website v2 7/7] add images on data site Memet Zx
2022-10-22  8:55 ` [PATCH website v2 0/7] Add meta tag and favicon Ammar Faizi

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