Skip to content

Commit

Permalink
Missed nofollows
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
Martii committed Jan 11, 2015
1 parent 091d193 commit 6f82860
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions public/robots.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
User-agent: *
Disallow: /admin/
Disallow: /mod/
Disallow: /flag/
Disallow: /vote/
Disallow: /auth/
Disallow: /github/
Disallow: /css/
Disallow: /dist/
Disallow: /fonts/
Expand Down
2 changes: 1 addition & 1 deletion views/includes/scriptAdminToolsPanel.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</div>
</div>
<div class="panel-body">
<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>
<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>
</div>
</div>
{{/adminTools}}

0 comments on commit 6f82860

Please sign in to comment.