diff --git a/controllers/static.js b/controllers/static.js index 660617b..f9fbd13 100644 --- a/controllers/static.js +++ b/controllers/static.js @@ -13,7 +13,9 @@ exports.faq = function (req, res, next) { }; exports.getstart = function (req, res) { - res.render('static/getstart'); + res.render('static/getstart', { + title: 'Node.js 新手入门' + }); }; @@ -22,7 +24,7 @@ exports.robots = function (req, res, next) { res.send(multiline(function () {; /* # See http://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file -# +# # To ban all spiders from the entire site uncomment the next two lines: # User-Agent: * # Disallow: /