diff options
-rw-r--r-- | routes/index.js | 2 | ||||
-rw-r--r-- | views/index.ejs | 32 |
2 files changed, 30 insertions, 4 deletions
diff --git a/routes/index.js b/routes/index.js index 8681a0e..f18f5ef 100644 --- a/routes/index.js +++ b/routes/index.js @@ -7,7 +7,7 @@ exports.index = function(req, res){ // res.render(TEMPLATE, OBJECT WITH VARIABLES) - res.render('index', { title: 'Express' }); + res.render('index', { title: 'DERS' }); }; diff --git a/views/index.ejs b/views/index.ejs index d3d3d3a..e84eb71 100644 --- a/views/index.ejs +++ b/views/index.ejs @@ -1,11 +1,37 @@ <!DOCTYPE html> <html> <head> + <meta charset="utf-8" /> + <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> + <title><%= title %></title> - <link rel='stylesheet' href='/stylesheets/style.css' /> - </head> + <meta name="description" content="" /> + <meta name="author" content=""> + + <meta name="viewport" content="width=device-width" /> + <link rel='stylesheet' href='/css/bootstrap.min.css' /> + <link rel='stylesheet' href='/css/bootstrap-responsive.min.css' /> + + <!-- HTML5 shim, for IE6-8 support of HTML5 elements --> + <!--[if lt IE 9]> + <script src="../assets/js/html5shiv.js"></script> + <![endif]--> + + + </head> <body> <h1><%= title %></h1> - <p>Welcome to <%= title %></p> + <p>Velkommen til <%= title %></p> + + + + + + <script> + var _gaq=[['_setAccount','UA-XXXXX-X'],['_trackPageview']]; + (function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0]; + g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js'; + s.parentNode.insertBefore(g,s)}(document,'script')); + </script> </body> </html> |