diff options
author | Dan McGee <dan@archlinux.org> | 2012-03-29 11:35:40 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-03-29 11:35:40 -0500 |
commit | 5555ce02278defaef0ef1388c163701eea3aff7e (patch) | |
tree | 587d090955c6084e608589702bb8f185cd6ee395 /templates/mirrors/status_table.html | |
parent | 076f9c51d50be9bb567e8477eff4c15bde62fcb3 (diff) |
Use spaceless tag in mirror status output
This removes a lot of needless whitespace in the generated output,
shrinking the uncompressed page size by 30KB to 54KB total on my current
set of mirror test data.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/mirrors/status_table.html')
-rw-r--r-- | templates/mirrors/status_table.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/mirrors/status_table.html b/templates/mirrors/status_table.html index 72de25dc..bd70115c 100644 --- a/templates/mirrors/status_table.html +++ b/templates/mirrors/status_table.html @@ -15,7 +15,7 @@ </thead> <tbody> {% for m_url in urls %} - <tr class="{% cycle 'odd' 'even' %}"> + {% spaceless %}<tr class="{% cycle 'odd' 'even' %}"> <td>{{ m_url.url }}</td> <td>{{ m_url.protocol }}</td> <td>{{ m_url.real_country }}</td> @@ -26,6 +26,6 @@ <td>{{ m_url.duration_stddev|floatformat:2 }}</td> <td>{{ m_url.score|floatformat:1|default:'∞' }}</td> </tr> - {% endfor %} + {% endspaceless %}{% endfor %} </tbody> </table> |