Skip to content

Commit

Permalink
Move tos.html into a jade layout, like about-us
Browse files Browse the repository at this point in the history
  • Loading branch information
ckknight committed May 22, 2011
1 parent 7b18e7f commit 7995d07
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 81 deletions.
8 changes: 8 additions & 0 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,14 @@
res.redirect("/privacy-policy", 301);
});

app.get("/terms-of-service", function (req, res) {
res.render('terms-of-service');
});

app.get("/tos.html", function (req, res) {
res.redirect("/terms-of-service", 301);
});

app.get('/messageChart', function(req, res){
var mongodb = require('mongodb');
var mongoServer = new mongodb.Server(config.mongodb.host, config.mongodb.port, {});
Expand Down
79 changes: 0 additions & 79 deletions static/tos.html

This file was deleted.

4 changes: 2 additions & 2 deletions views/layout.jade
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ html
li
a(href="/forum/", target="_blank") Forum
li
a(href="/tos.html") Terms of Service
a(href="/terms-of-service") Terms of Service
li
a(href="/privacypolicy.html") Privacy Policy
a(href="/privacy-policy") Privacy Policy
23 changes: 23 additions & 0 deletions views/terms-of-service.jade
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#tagline
h1 Terms of Service

#main
#column_left
//- Should probably move this out to not be hard-coded
:markdown
Terms of Service
-------------------
CompassionPit is a free service. The goal of it is to enable honest human-to-human communication in pursuit of happier living for everyone. Please be responsible when using CompassionPit.

By using CompassionPit, you agree to indemnify the website proprietors from any injuries, emotional physical or financial, sustained during the use of the service.

Contact
-------
If you have any questions, you can contact us at _zackster_@_gmail_._com_. Please put "CompassionPit TOS" in the subject line. Thanks!

br.clear

#column_right
#buttons1

br.clear

0 comments on commit 7995d07

Please sign in to comment.