Node.js 新手入门 seo

This commit is contained in:
alsotang 2015-08-27 17:01:33 +08:00
parent 264d5a23ac
commit f92f929f75

View File

@ -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: /