{% extends "board/base.html" %} {% load post_body %} {% load i18n %} {% block title %} {% with title=board.url %} {{ block.super }} {% endwith %} {% endblock title %} {% block content %} {# board header #}
 

/{{ board.url }}/ - {{ board.name }}

 

{# post creation form #}
 
 

{# posts #} {% for post in threads %}
{# TODO we need some way to parameterize the last N threads #} {% with reply_link=True replies_elided=post.replies.all|length|add:"-3" %} {% include "board/post_snippet.html" %} {% endwith %} {# get the last 3 replies #} {% for post in post.replies.all|dictsortreversed:"id"|slice:":3" reversed %}
{% include "board/post_snippet.html" %}
{% endfor %}

{% endfor %} {# Page footer #} {% endblock content %}