Author: ArcRiley
Date: 2008-09-28 20:53:35 -0400 (Sun, 28 Sep 2008)
New Revision: 1370

Modified:
   trunk/pysoy/docs/templates/genindex.html
Log:
Ticket #964 :
  * example of Jinja -> Genshi template conversion


Modified: trunk/pysoy/docs/templates/genindex.html
===================================================================
--- trunk/pysoy/docs/templates/genindex.html    2008-09-29 00:41:06 UTC (rev 
1369)
+++ trunk/pysoy/docs/templates/genindex.html    2008-09-29 00:53:35 UTC (rev 
1370)
@@ -12,9 +12,9 @@
   <py:match path="body" once="true" buffer="false"><body>
    <h1 id="index">Index</h1>
 
-   {% for key, dummy in genindexentries -%}
-   <a href="#{{ key }}"><strong>{{ key }}</strong></a> {% if not loop.last %}| 
{% endif %}
-   {%- endfor %}
+   <py:for each="key, dummy in genindexentries">
+     <a href="#${key}"><strong>${key}</strong></a> |
+   </py:for>
 
    <hr />
 

_______________________________________________
PySoy-SVN mailing list
PySoy-SVN@pysoy.org
http://www.pysoy.org/mailman/listinfo/pysoy-svn

Reply via email to