summaryrefslogtreecommitdiff
path: root/Gruntfile.js
diff options
context:
space:
mode:
authorEliot Whalan <ewhal@pantsu.cat>2016-06-18 07:18:47 +0200
committerGitHub <noreply@github.com>2016-06-18 07:18:47 +0200
commite199b9f914d57724c9a08ca3749a08a7aad46256 (patch)
tree36c3ac2147220d64f28c37dfc45542823cc6e3bf /Gruntfile.js
parent74064dbfe4dd1a05a145d33b51d02e0bc7f1f23e (diff)
parentd8f3db5cb0c665a66ddc5ae7f0af2ec37c2dd0b5 (diff)
Merge pull request #14 from akpu1/patch-10
Generalised donation banner significantly more general; other misc changes
Diffstat (limited to 'Gruntfile.js')
-rw-r--r--Gruntfile.js20
1 files changed, 1 insertions, 19 deletions
diff --git a/Gruntfile.js b/Gruntfile.js
index 4438b94..18318b0 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -2,25 +2,7 @@ module.exports = function (grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
swig: {
- dist: {
- init: {
- allowErrors: false
- },
- banners: grunt.file.readJSON('templates/banners.json'),
- dest: 'dist',
- generateRobotstxt: false,
- generateSitemap: false,
- max_upload_size: 128,
- pkgVersion: '<%= pkg.version %>',
- production: false,
- siteName: 'Pantsu',
- siteUrl: 'https://pantsu.cat/',
- src: [
- 'templates/index.swig',
- 'templates/faq.swig',
- 'templates/tools.swig'
- ],
- }
+ dist: grunt.file.readJSON('dist.json'),
},
htmlmin: {
dist: {