Skip to content

Commit 6f82860

Browse files
author
Martii
committed
Missed nofollows
* One missed panel item *(duplicity)* * General robots.txt avoidance for other stuff... will need to maintain this if any sensitive route changes happen Applies to #340
1 parent 091d193 commit 6f82860

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)