From 36aaf4cdc8f978920db073aba03b136fc8a7a432 Mon Sep 17 00:00:00 2001 From: fahimkhan Date: Tue, 20 Sep 2016 17:33:40 +0530 Subject: Subject: Added layout Description: Added layput to About and Contact page. --- routes/routes.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'routes/routes.js') diff --git a/routes/routes.js b/routes/routes.js index e20ae07..6889f74 100644 --- a/routes/routes.js +++ b/routes/routes.js @@ -10,6 +10,11 @@ module.exports = function(express,app,fs,os,io,PythonShell,scriptPath){ }); + router.get('/index',function(req,res,next){ + res.render('index',{host:app.get('host'),title:'Ngspice Simulator'}); + + }); + /*About Page*/ router.get('/about',function(req,res,next){ res.render('about',{title:'Ngspice Simulator'}); -- cgit