在/var/www/blog/source/文件夹下面添加robots.txt文件,并复制下面代码
# hexo robots.txtUser-agent: *Allow: /Allow: /archives/Disallow: /vendors/Disallow: /js/Disallow: /css/Disallow: /fonts/Disallow: /vendors/Disallow: /fancybox/Sitemap: http://www.saiita.cn/sitemap.xmlSitemap: http://www.saiita.cn/baidusitemap.xml |
输入
hexo g |