You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by ul...@apache.org on 2010/12/23 15:25:03 UTC
svn commit: r1052279 -
/tapestry/tapestry-site/branches/post-5.2-site/autoexport_template.txt
Author: uli
Date: Thu Dec 23 14:25:02 2010
New Revision: 1052279
URL: http://svn.apache.org/viewvc?rev=1052279&view=rev
Log:
apply Bob Harner's patch
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=1052279&r1=1052278&r2=1052279&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 Thu Dec 23 14:25:02 2010
@@ -24,7 +24,7 @@
<head>
<title>
#if (! $page.title.equals("Index") && ! $page.title.equals("IndexV2"))
-Apache Tapestry -- $page.title
+$page.title -- Apache Tapestry
#else
Apache Tapestry Home Page
#end
@@ -43,7 +43,7 @@ $content
<div id="top">
#set($child = $pageManager.getPage($page.space.key,"Small Banner"))
#set($content = $renderer.convertWikiToXHtml($child.toPageContext(), $child.content).trim())
-$content
+$content.replaceAll("Page Title", $page.title)
<div class="clearer"></div>
</div>