From 89fb3c5faa448115d690328c5ce2538831880122 Mon Sep 17 00:00:00 2001 From: Jochen Topf Date: Fri, 27 Feb 2015 10:04:55 +0100 Subject: Add rel="nofollow" to project links. To discourage spam. The links are created from javascript, so search engines will have a hard time picking them up anyway. Oh well, better safe than sorry. --- web/views/project.erb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'web/views') diff --git a/web/views/project.erb b/web/views/project.erb index c4ff153..b82f925 100644 --- a/web/views/project.erb +++ b/web/views/project.erb @@ -37,16 +37,16 @@ function page_init2() { doc_url = #{ @project['doc_url'].to_json }; if (project_url) { - jQuery('#project_url').html(link_to_url(project_url)); + jQuery('#project_url').html(link_to_url_nofollow(project_url)); } if (icon_url) { jQuery('#icon_url').html(img({ src: icon_url, width: 16, height: 16, alt: ''})); } if (json_url) { - jQuery('#json_url').html(link_to_url(json_url)); + jQuery('#json_url').html(link_to_url_nofollow(json_url)); } if (doc_url) { - jQuery('#doc_url').html(link_to_url(doc_url)); + jQuery('#doc_url').html(link_to_url_nofollow(doc_url)); } init_tabs([project]); -- cgit v1.2.3