summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorakpu1 <akpu1@inventati.org>2016-06-18 07:09:49 +0200
committerGitHub <noreply@github.com>2016-06-18 07:09:49 +0200
commit7ac985d48ff9306498362b121244c2cc08647b5c (patch)
treebf566580cecf4b57b1039616e6cb2530b199f35f
parent786a3d7ad13c36645fbf9a6f0c64444dad5d017e (diff)
Remove banners.json, add dist.json
dist.json replaces dist{...} and encompasses banners.json
-rw-r--r--dist.json25
-rw-r--r--templates/banners.json4
2 files changed, 25 insertions, 4 deletions
diff --git a/dist.json b/dist.json
new file mode 100644
index 0000000..8016939
--- /dev/null
+++ b/dist.json
@@ -0,0 +1,25 @@
+{
+ "init": {
+ "allowErrors": false
+ },
+ "dest": "dist",
+ "pkgVersion": "<%= pkg.version %>",
+ "banners": [
+ "banners/malware_scans.swig",
+ "banners/donations.swig"
+ ],
+ "src": [
+ "templates/index.swig",
+ "templates/faq.swig",
+ "templates/tools.swig"
+ ],
+ "generateRobotstxt": false,
+ "generateSitemap": false,
+ "max_upload_size": 128,
+ "production": false,
+ "siteName": "Pantsu",
+ "siteUrl": "https://pantsu.cat/",
+ "paypalUrl": "",
+ "bitcoinAddress": "",
+ "flattrUrl": ""
+}
diff --git a/templates/banners.json b/templates/banners.json
deleted file mode 100644
index 6cefb70..0000000
--- a/templates/banners.json
+++ /dev/null
@@ -1,4 +0,0 @@
-[
- "banners/malware_scans.swig",
- "banners/donate.swig"
-]