var multiline = require('multiline'); // static page // About exports.about = function (req, res, next) { res.render('static/about', { pageTitle: '关于我们' }); }; // FAQ exports.faq = function (req, res, next) { res.render('static/faq'); }; exports.robots = function (req, res, next) { res.type('text/plain'); 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: / */ })); };