alias /news to /stories
This commit is contained in:
3
app.js
3
app.js
@@ -235,6 +235,9 @@ app.get('/control-shortcuts', resourcesController.deployAWebsite);
|
||||
app.get('/stats', function(req, res) {
|
||||
res.redirect(301, '/learn-to-code');
|
||||
});
|
||||
app.get('/news', function(req, res) {
|
||||
res.redirect(301, '/stories/hot');
|
||||
});
|
||||
app.get('/learn-to-code', resourcesController.about);
|
||||
app.get('/about', function(req, res) {
|
||||
res.redirect(301, '/learn-to-code');
|
||||
|
@@ -37,7 +37,7 @@ block content
|
||||
.row
|
||||
.col-xs-12.col-sm-12.col-md-6
|
||||
.panel.panel-info
|
||||
.panel-heading.landing-panel-heading.text-center News
|
||||
.panel-heading.landing-panel-heading.text-center Announcements
|
||||
.panel-body
|
||||
.landing-panel-body.text-center
|
||||
for announcement in announcements
|
||||
|
Reference in New Issue
Block a user