summaryrefslogtreecommitdiffstats
path: root/netlify-production.js
diff options
context:
space:
mode:
authorSerghei Iakovlev <egrep@protonmail.ch>2024-09-28 08:43:17 +0200
committerSerghei Iakovlev <egrep@protonmail.ch>2024-09-28 08:43:17 +0200
commitaacf9f29bd6cab8632fc1adbc42cb1bd6613b77c (patch)
tree706738030806c33d80f2e1626a2bde01d1a943e9 /netlify-production.js
parentdc2f8527981d63c637f02823f6d1784ceefceeb3 (diff)
downloadgohugo-theme-ed-aacf9f29bd6cab8632fc1adbc42cb1bd6613b77c.tar.gz
Simplify demo site configuration
Diffstat (limited to 'netlify-production.js')
-rw-r--r--netlify-production.js15
1 files changed, 0 insertions, 15 deletions
diff --git a/netlify-production.js b/netlify-production.js
deleted file mode 100644
index 18ae1d2..0000000
--- a/netlify-production.js
+++ /dev/null
@@ -1,15 +0,0 @@
-const fs = require('fs');
-const yaml = require('yaml');
-
-const filePath = 'exampleSite/config/_default/params.yaml';
-const file = fs.readFileSync(filePath, 'utf8');
-const config = yaml.parse(file);
-
-config.privacy.googleTagManager.disable = false;
-config.services.googleTagManager.id = 'GTM-W8D5W642';
-
-const newYaml = yaml.stringify(config);
-
-fs.writeFileSync(filePath, newYaml, 'utf8');
-
-console.log('Updated config.yaml successfully!');