~widelands-dev/widelands-website/trunk

« back to all changes in this revision

Viewing changes to templates/news/category_list.html

  • Committer: Holger Rapp
  • Date: 2009-02-21 18:24:02 UTC
  • Revision ID: sirver@kallisto.local-20090221182402-k3tuf5c4gjwslbjf
Main Page contains now the same informations as before

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
{% extends "news/base_news.html" %}
 
2
 
 
3
 
 
4
{% block title %}Post categories{% endblock %}
 
5
{% block body_class %}{{ block.super }} category_list{% endblock %}
 
6
 
 
7
 
 
8
{% block content_title %}
 
9
  <h2>Post categories</h2>
 
10
{% endblock %}
 
11
 
 
12
 
 
13
{% block content %}
 
14
  {% load markup %}
 
15
  <ul class="link_list">
 
16
    {% for category in object_list %}
 
17
    <li><a href="{{ category.get_absolute_url }}">{{ category }}</a></li>
 
18
    {% endfor %}
 
19
  </ul>
 
20
{% endblock %}