diff --git a/.gitignore b/.gitignore index 0d5cdf0..711675a 100644 --- a/.gitignore +++ b/.gitignore @@ -64,3 +64,15 @@ typings/ #session whatsappwebjs json file whatsapp-web.js/session.json + +# ignore file in the generated website section +website-generator/public/pages/* + +# ignore ejs.html files +website-generator/public/templates/*/*.ejs.html + +# Not IPFS file in the direcotry +!website-generator/public/pages/ipfs-deploy.sh + + + diff --git a/website-generator/app/controllers/home.js b/website-generator/app/controllers/home.js index 412aef4..3819524 100644 --- a/website-generator/app/controllers/home.js +++ b/website-generator/app/controllers/home.js @@ -24,8 +24,6 @@ exports.generate = function (req, res) { //we can now manipulate the data let result = req.body.companyName; - //console.log(req.body); - let dir = './public/pages/' + req.body.companyName; if (!fs.existsSync(dir)) { @@ -100,12 +98,10 @@ exports.deploy_ipfs = function (req, res) { } exports.convertCsv = function (req, res, next) { - console.log(req.body); const csvStr = req.body.csv; csv() .fromString(csvStr) .then((jsonObj) => { - console.log(jsonObj) req.body.csv = jsonObj; //delete file at path next() diff --git a/website-generator/public/templates/Colo_Shop/cart.ejs b/website-generator/public/templates/Colo_Shop/cart.ejs index 77d4a49..1661e6e 100644 --- a/website-generator/public/templates/Colo_Shop/cart.ejs +++ b/website-generator/public/templates/Colo_Shop/cart.ejs @@ -117,9 +117,9 @@
test <li class="grid_sorting_button button d-flex flex-column justify-content-center align-items-center" data-filter=".women">women's</li> + <li class="grid_sorting_button button d-flex flex-column justify-content-center align-items-center" data-filter=".accessories">accessories</li> + <li class="grid_sorting_button button d-flex flex-column justify-content-center align-items-center" data-filter=".men">men's</li>