Edgewall Software

Changes between Version 1 and Version 2 of TracDev/PortingFromGenshiToJinja/Example


Ignore:
Timestamp:
Jan 14, 2017, 11:36:19 PM (7 years ago)
Author:
Christian Boos
Comment:

fix link to wiki_view.html in the jinja2 branch

Legend:

Unmodified
Added
Removed
Modified
  • TracDev/PortingFromGenshiToJinja/Example

    v1 v2  
    11= Conversion example
    22
    3 Here we detail the conversion process of a sample Genshi template ([source:tags/trac-1.0.9/trac/wiki/templates/wiki_view.html wiki_view.html]) into the corresponding Jinja2 template ([source:cboos.git/trac/wiki/templates/jwiki_view.html jwiki_view.html]).
     3Here we detail the conversion process of a sample Genshi template ([source:tags/trac-1.3.1/trac/wiki/templates/wiki_view.html wiki_view.html]) into the corresponding Jinja2 template ([source:cboos.git/trac/wiki/templates/wiki_view.html@jinja2-trunk-r15341 wiki_view.html]).
    44
    55As will become apparent, we mainly use [http://jinja.pocoo.org/docs/dev/templates/#line-statements line statements] for the Jinja2 control structures.