diff --git a/server.js b/server.js index b5582a1..700e46a 100644 --- a/server.js +++ b/server.js @@ -136,7 +136,7 @@ app.get('/:loc', function(req, res) { row.statusclass = 'closed'; } else { row.statusclass = 'open'; } }); - res.render('index', {values: result.rows}, function(err, html) { + res.render('location', {values: result.rows}, function(err, html) { if(err !== null) { winston.error(err); } else { diff --git a/views/default.hbs b/views/default.hbs index 393147c..1759fb7 100644 --- a/views/default.hbs +++ b/views/default.hbs @@ -30,9 +30,10 @@ color:white; } +
- + {{! Everything else gets inserted here }} {{{body}}} diff --git a/views/home.hbs b/views/home.hbs index 0e41acf..c1b157b 100644 --- a/views/home.hbs +++ b/views/home.hbs @@ -15,7 +15,7 @@Want to sign on as another TennisCourtsOpen.com location? Email us.
Here are the currently supported locations: | +Here are the currently supported locations:{{! | Status | }}
---|
Temple Terrace Recreation Center, clay courts |