Mercurial > hg-website
changeset 259:b18d0f96829d
Merge sjl/hg-website
author | David Soria Parra <dsp@php.net> |
---|---|
date | Sun, 04 Oct 2009 04:21:47 +0200 |
parents | f6ace8678dd1 (current diff) 37c381bc813d (diff) |
children | dd7fababf8b6 |
files | templates/base.html templates/frontpage.html |
diffstat | 3 files changed, 14 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/templates/base.html Sun Oct 04 04:14:04 2009 +0200 +++ b/templates/base.html Sun Oct 04 04:21:47 2009 +0200 @@ -1,3 +1,5 @@ +{% from 'data' import downloads %} + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/templates/data Sun Oct 04 04:21:47 2009 +0200 @@ -0,0 +1,1 @@ +{% set downloads = {'1.3.1': {'windows': 'linkwin', 'os.x': 'linkosx'}} %} \ No newline at end of file
--- a/templates/frontpage.html Sun Oct 04 04:14:04 2009 +0200 +++ b/templates/frontpage.html Sun Oct 04 04:21:47 2009 +0200 @@ -36,6 +36,17 @@ </ol> </div> <div class="col"> + <h3>Download</h3> + {% for version in downloads %} + <h4><strong>{{ version }}</strong></h4> + <ul> + {% for os in downloads[version] %} + <li>{{ os }}: {{ downloads[version][os] }}</li> + {% endfor %} + </ul> + + {% endfor %} + <h3>Quick Start</h3> <p><em>Clone a project and create a patch</em>