浏览代码

[GINR] No Follow for robots from home on

cgars 8 年之前
父节点
当前提交
2c36a1ba4a
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      templates/base/head.tmpl

+ 1 - 0
templates/base/head.tmpl

@@ -5,6 +5,7 @@
 		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
 		<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
 		{{if or .PageIsExploreRepositories (or .PageIsHome .PageIsWiki) }}
+		<META NAME="ROBOTS" CONTENT="NOFOLLOW"/>
 		{{else if .PageIsViewFiles }}
 		<META NAME="ROBOTS" CONTENT="NOFOLLOW"/>
 		{{else}}