Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Diff of /projects/ToolBox2/trunk/toolbox/templates/wikidokilist.html [r3397] .. [r3398] Maximize Restore

  Switch to side-by-side view

--- a/projects/ToolBox2/trunk/toolbox/templates/wikidokilist.html
+++ b/projects/ToolBox2/trunk/toolbox/templates/wikidokilist.html
@@ -5,18 +5,21 @@
       xmlns:xi="http://www.w3.org/2001/XInclude">
 
 <xi:include href="master.html" />
-
+<?python
+import os
+records = [os.path.splitext(os.path.split(page)[1])[0] for page in pages]
+?>
 <head>
   <meta content="text/html; charset=UTF-8" http-equiv="content-type" py:replace="''"/>
-  <title>Project Information</title>
+  <title>TurboGears Toolbox</title>
 </head>
 
 <body>
   <h1><a href="/">Toolbox</a> &#x00BB; <a href="/wikidoki">WikiDoki</a> &#x00BB; list</h1>
   <div id="getting_started">
   	<h2>Docs List</h2>
-	    <ul py:for="page in pages">
-	       	<li>${page}</li>
+	    <ul py:for="page in records">
+	       	<li><a href="/wikidoki/index?pagename=${page}">${page}</a></li>
 		</ul>
   </div>
 </body>