tapestry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From u..@apache.org
Subject svn commit: r1096611 - /tapestry/tapestry-site/branches/post-5.2-site/autoexport_template.txt
Date Mon, 25 Apr 2011 21:38:07 GMT
Author: uli
Date: Mon Apr 25 21:38:06 2011
New Revision: 1096611

URL: http://svn.apache.org/viewvc?rev=1096611&view=rev
Log:
remove the nofollow rel attribute option from links. Thanks to Mark Shead for the suggestion.

Modified:
    tapestry/tapestry-site/branches/post-5.2-site/autoexport_template.txt

Modified: tapestry/tapestry-site/branches/post-5.2-site/autoexport_template.txt
URL: http://svn.apache.org/viewvc/tapestry/tapestry-site/branches/post-5.2-site/autoexport_template.txt?rev=1096611&r1=1096610&r2=1096611&view=diff
==============================================================================
--- tapestry/tapestry-site/branches/post-5.2-site/autoexport_template.txt (original)
+++ tapestry/tapestry-site/branches/post-5.2-site/autoexport_template.txt Mon Apr 25 21:38:06
2011
@@ -37,13 +37,13 @@ Apache Tapestry Home Page
 
 #set($child = $pageManager.getPage($page.space.key,"Navigation"))
 #set($content = $renderer.convertWikiToXHtml($child.toPageContext(), $child.content).trim())
-$content
+$content.replaceAll("rel=\"nofollow\"", "")
 
 #if (! $page.title.equals("Index") && ! $page.title.equals("IndexV2"))
 <div id="top">
 #set($child = $pageManager.getPage($page.space.key,"Small Banner"))
 #set($content = $renderer.convertWikiToXHtml($child.toPageContext(), $child.content).trim())
-$content.replaceAll("Page Title", $page.title)
+$content.replaceAll("Page Title", $page.title).replaceAll("rel=\"nofollow\"", "")
 <div class="clearer"></div>
 </div>
 
@@ -54,17 +54,17 @@ $content.replaceAll("Page Title", $page.
   </div>
 
 <div id="content">
-$body
+$body.replaceAll("rel=\"nofollow\"", "")
 </div>
 
 <div class="clearer"></div>
 #else
-$body
+$body.replaceAll("rel=\"nofollow\"", "")
 #end
 <div id="footer">
 #set($child = $pageManager.getPage($page.space.key,"Footer"))
 #set($content = $renderer.convertWikiToXHtml($child.toPageContext(), $child.content).trim())
-$content
+$content.replaceAll("rel=\"nofollow\"", "")
 </div>
   </div>
 </body>



Mime
View raw message