redirect about, team, extensions to the community site. remove header
This commit is contained in:
@@ -13,9 +13,9 @@ beforeEach = (req, res, next) ->
|
||||
|
||||
router.get '/splash.html', (req, res) -> return res.redirect('/static/front')
|
||||
router.get '/static/front', beforeEach, (req, res) -> staticPages.render 'static/front', res
|
||||
router.get '/static/about', beforeEach, (req, res) -> staticPages.render 'static/about', res
|
||||
router.get '/static/team', beforeEach, (req, res) -> staticPages.render 'static/team', res
|
||||
router.get '/static/extensions', beforeEach, (req, res) -> res.redirect 'http://community.habitrpg.com/extensions', res
|
||||
router.get '/static/about', (req, res) -> res.redirect 'http://community.habitrpg.com/node/97'
|
||||
router.get '/static/team', (req, res) -> res.redirect 'http://community.habitrpg.com/node/96'
|
||||
router.get '/static/extensions', (req, res) -> res.redirect 'http://community.habitrpg.com/extensions'
|
||||
router.get '/static/faq', (req, res) -> res.redirect 'http://community.habitrpg.com/faq-page'
|
||||
|
||||
router.get '/static/privacy', beforeEach, (req, res) -> staticPages.render 'static/privacy', res
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<header:>
|
||||
<div class="navbar navbar-inverse navbar-fixed-top">
|
||||
<!--<div class="navbar navbar-inverse navbar-fixed-top">
|
||||
<div class="navbar-inner">
|
||||
<div class="container">
|
||||
<a class="brand {{#if equal(@active,'front')}}active{{/}}" href="/static/front">HabitRPG</a>
|
||||
@@ -34,4 +34,4 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>-->
|
||||
|
||||
Reference in New Issue
Block a user