comparison templates/frontpage.html @ 257:cebed91e780d

Add a sample of passing the download list with jinja.
author Steve Losh <steve@stevelosh.com>
date Sat, 03 Oct 2009 21:53:01 -0400
parents 3efd1dcf92c7
children b18d0f96829d
comparison
equal deleted inserted replaced
254:d662cba2afb1 257:cebed91e780d
32 commented out because it feels awkward.--></p> 32 commented out because it feels awkward.--></p>
33 </li> 33 </li>
34 </ol> 34 </ol>
35 </div> 35 </div>
36 <div class="col"> 36 <div class="col">
37 <h3>Download</h3>
38 {% for version in downloads %}
39 <h4><strong>{{ version }}</strong></h4>
40 <ul>
41 {% for os in downloads[version] %}
42 <li>{{ os }}: {{ downloads[version][os] }}</li>
43 {% endfor %}
44 </ul>
45
46 {% endfor %}
47
37 <h3>Quick Start</h3> 48 <h3>Quick Start</h3>
38 49
39 <p><em>Clone a project and create a patch</em> 50 <p><em>Clone a project and create a patch</em>
40 <pre>$ hg clone http://hg-scm.org/hello 51 <pre>$ hg clone http://hg-scm.org/hello
41 $ cd hello 52 $ cd hello