~widelands-dev/widelands-website/django_staticfiles

« back to all changes in this revision

Viewing changes to templates/news/category_detail.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 %}Posts for {{ category.title }}{% endblock %}
 
5
{% block body_class %}{{ block.super }} category_detail{% endblock %}
 
6
{% block body_id %}category_{{ category.id }}{% endblock %}
 
7
 
 
8
 
 
9
{% block content_title %}
 
10
  <h2>Posts for {{ category.title }}</h2>
 
11
{% endblock %}
 
12
 
 
13
 
 
14
{% block content %}
 
15
  {% load markup %}
 
16
  <div class="post_list">
 
17
    {% for post in object_list %}
 
18
    <div>
 
19
      <h3 class="title"><a href="{{ post.get_absolute_url }}">{{ post.title }}</a></h3>
 
20
      <p class="date">{{ post.publish|date:"Y F d" }}</p>
 
21
      <p class="tease">{{ post.tease }}</p>
 
22
    </div>
 
23
    {% endfor %}
 
24
  </div>
 
25
{% endblock %}