Skip to content

Commit e006be0

Browse files
committed
Merge pull request #517 from Martii/Issue-340NoFollows
Missed `nofollow`s Auto-merge
2 parents 091d193 + 6f82860 commit e006be0

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

public/robots.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
User-agent: *
2+
Disallow: /admin/
3+
Disallow: /mod/
4+
Disallow: /flag/
5+
Disallow: /vote/
6+
Disallow: /auth/
7+
Disallow: /github/
28
Disallow: /css/
39
Disallow: /dist/
410
Disallow: /fonts/

views/includes/scriptAdminToolsPanel.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</div>
88
</div>
99
<div class="panel-body">
10-
<a href="/admin/json?model=Script&id={{{script._id}}}" class="btn btn-link col-xs-12"><i class="fa fa-database"></i> Raw JSON Data</a>
10+
<a rel="nofollow" href="/admin/json?model=Script&id={{{script._id}}}" class="btn btn-link col-xs-12"><i class="fa fa-database"></i> Raw JSON Data</a>
1111
</div>
1212
</div>
1313
{{/adminTools}}

0 commit comments

Comments
 (0)