You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by ga...@apache.org on 2012/12/20 03:13:03 UTC

svn commit: r1424269 - in /geronimo/site/trunk: template/gshell_autoexport_template.xml wiki-export/conf/gshell.cfg

Author: gawor
Date: Thu Dec 20 02:13:03 2012
New Revision: 1424269

URL: http://svn.apache.org/viewvc?rev=1424269&view=rev
Log:
gshell configuration for completness

Added:
    geronimo/site/trunk/wiki-export/conf/gshell.cfg
Modified:
    geronimo/site/trunk/template/gshell_autoexport_template.xml

Modified: geronimo/site/trunk/template/gshell_autoexport_template.xml
URL: http://svn.apache.org/viewvc/geronimo/site/trunk/template/gshell_autoexport_template.xml?rev=1424269&r1=1424268&r2=1424269&view=diff
==============================================================================
--- geronimo/site/trunk/template/gshell_autoexport_template.xml (original)
+++ geronimo/site/trunk/template/gshell_autoexport_template.xml Thu Dec 20 02:13:03 2012
@@ -28,8 +28,7 @@
     ## FIXME: Must be a more efficient way to find a page...
     ##
     
-    #foreach ($child in $page.space.pages)
-        #if ($child.title.equals($title))
+            #set ($child = $pageManager.getPage($page.space.key,$title))
             #set ($content = $renderer.convertWikiToXHtml($child.toPageContext(), $child.content).trim())
             
             ##
@@ -41,8 +40,6 @@
             #set ($content = $content.substring(0, $end))
             
             $content
-        #end
-    #end
 #end
 ##
 #macro (topNav)

Added: geronimo/site/trunk/wiki-export/conf/gshell.cfg
URL: http://svn.apache.org/viewvc/geronimo/site/trunk/wiki-export/conf/gshell.cfg?rev=1424269&view=auto
==============================================================================
--- geronimo/site/trunk/wiki-export/conf/gshell.cfg (added)
+++ geronimo/site/trunk/wiki-export/conf/gshell.cfg Thu Dec 20 02:13:03 2012
@@ -0,0 +1,6 @@
+spaceKey:GSHELL
+pageCacheFile:cache/gshell.pageCache
+templateName:../template/gshell_autoexport_template.xml
+outputDir:/gshell
+globalPages:Navigation,Banner,QuickLinks
+mainDivClass:wiki-content maincontent