Merge pull request #4124 from FreeCodeCamp/update-titles
update page titles and sitemap
This commit is contained in:
@@ -591,7 +591,7 @@ module.exports = function(app) {
|
||||
),
|
||||
camperCount,
|
||||
lastCompleted,
|
||||
title: "A map of all Free Code Camp's Challenges"
|
||||
title: "A Map to Learn to Code and Become a Software Engineer"
|
||||
});
|
||||
},
|
||||
next
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { defaultProfileImage } from '../../common/utils/constantStrings.json';
|
||||
|
||||
const message =
|
||||
'Learn to Code and Build Projects for Nonprofits';
|
||||
'Learn to Code and Help Nonprofits';
|
||||
|
||||
module.exports = function(app) {
|
||||
var router = app.loopback.Router();
|
||||
|
||||
@@ -28,7 +28,6 @@ module.exports = function(app) {
|
||||
router.get('/pmi-acp-agile-project-managers-form', agileProjectManagersForm);
|
||||
router.get('/nonprofits', nonprofits);
|
||||
router.get('/nonprofits-form', nonprofitsForm);
|
||||
router.get('/our-sponsors', sponsors);
|
||||
router.get('/unsubscribe/:email', unsubscribe);
|
||||
router.get('/unsubscribed', unsubscribed);
|
||||
router.get('/get-started', getStarted);
|
||||
@@ -185,14 +184,14 @@ module.exports = function(app) {
|
||||
|
||||
function showLabs(req, res) {
|
||||
res.render('resources/labs', {
|
||||
title: 'Projects Built by Free Code Camp Students',
|
||||
title: 'Projects Built by Free Code Camp Software Engineers',
|
||||
projects: labs
|
||||
});
|
||||
}
|
||||
|
||||
function showTestimonials(req, res) {
|
||||
res.render('resources/stories', {
|
||||
title: 'Stories from Happy Free Code Camp Campers',
|
||||
title: 'Testimonials from Happy Free Code Camp Students who got Software Engineer Jobs',
|
||||
stories: testimonials
|
||||
});
|
||||
}
|
||||
@@ -207,15 +206,9 @@ module.exports = function(app) {
|
||||
});
|
||||
}
|
||||
|
||||
function sponsors(req, res) {
|
||||
res.render('sponsors/sponsors', {
|
||||
title: 'The Sponsors who make Free Code Camp Possible'
|
||||
});
|
||||
}
|
||||
|
||||
function nonprofits(req, res) {
|
||||
res.render('resources/nonprofits', {
|
||||
title: 'A guide to our Nonprofit Projects'
|
||||
title: 'Your Nonprofit Can Get Pro Bono Code'
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -109,7 +109,7 @@ module.exports = function(app) {
|
||||
|
||||
function hot(req, res) {
|
||||
return res.render('stories/index', {
|
||||
title: 'Hot stories currently trending on Camper News',
|
||||
title: 'Top Stories on Camper News',
|
||||
page: 'hot'
|
||||
});
|
||||
}
|
||||
|
||||
@@ -128,7 +128,7 @@ module.exports = function(app) {
|
||||
return res.redirect('/');
|
||||
}
|
||||
res.render('account/signin', {
|
||||
title: 'Free Code Camp Login'
|
||||
title: 'Sign in to Free Code Camp using a Social Media Account'
|
||||
});
|
||||
}
|
||||
|
||||
@@ -142,7 +142,7 @@ module.exports = function(app) {
|
||||
return res.redirect('/');
|
||||
}
|
||||
res.render('account/email-signin', {
|
||||
title: 'Sign in to your Free Code Camp Account'
|
||||
title: 'Sign in to Free Code Camp using your Email Address'
|
||||
});
|
||||
}
|
||||
|
||||
@@ -151,7 +151,7 @@ module.exports = function(app) {
|
||||
return res.redirect('/');
|
||||
}
|
||||
res.render('account/email-signup', {
|
||||
title: 'Create Your Free Code Camp Account'
|
||||
title: 'Sign up for Free Code Camp using your Email Address'
|
||||
});
|
||||
}
|
||||
|
||||
@@ -222,7 +222,7 @@ module.exports = function(app) {
|
||||
});
|
||||
|
||||
res.render('account/show', {
|
||||
title: 'Camper ' + profileUser.username + '\'s portfolio',
|
||||
title: 'Camper ' + profileUser.username + '\'s Code Portfolio',
|
||||
username: profileUser.username,
|
||||
name: profileUser.name,
|
||||
|
||||
@@ -397,7 +397,7 @@ module.exports = function(app) {
|
||||
return res.render('account/forgot');
|
||||
}
|
||||
res.render('account/reset', {
|
||||
title: 'Password Reset',
|
||||
title: 'Reset your Password',
|
||||
accessToken: req.accessToken.id
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user