\r
{% block title %}{% spaceless %}{{ page_title }}{% endspaceless %}{% endblock %}\r
\r
-{% block forejs %}\r
- <link rel="alternate" type="application/rss+xml" title="RSS" href="/feeds/rss">\r
+{% block metadescription %}{% spaceless %}\r
+ {% if tag %}\r
+ {% blocktrans with settings.APP_TITLE as app_title %}Questions and answers about {{ tag }} on {{ app_title }}{% endblocktrans %}\r
+ {% endif %}\r
+{% endspaceless %}{% endblock %}\r
+\r
+{% block meta %}\r
+ <link rel="alternate" type="application/rss+xml" title="RSS" href="{{ feed_url }}" />\r
{% endblock %}\r
\r
{% block content %}\r
+\r
<div class="tabBar">\r
- {% question_list_title %}\r
+ {% include "question_list/title.html" %}\r
<a class="feed-icon" style="background-image:url('{% media "media/images/feed-icon-small.png" %}');" href="{{ feed_url }}" title="{% trans "subscribe to question RSS feed" %}"></a>\r
- {% question_sort_tabs sort_context %}\r
+ {{ questions.paginator.sort_tabs }}\r
</div>\r
-<div id="listA">{% for question in questions %}\r
- {% question_list_item question %}\r
+<div id="listA">{% for question in questions.paginator.page %}\r
+ {% if show_summary %}\r
+ {% question_list_item question question_summary=yes %}\r
+ {% else %}\r
+ {% question_list_item question %}\r
+ {% endif %}\r
{% endfor %}</div>\r
{% endblock %}\r
\r
{% block tail %}\r
- <div class="pager">{% cnprog_paginator pagination_context %}</div>\r
- <div class="pagesize">{% cnprog_pagesize pagination_context %}</div>\r
+ <div class="pager">{{ questions.paginator.page_numbers }}</div>\r
+ <div class="pagesize">{{ questions.paginator.page_sizes }}</div>\r
{% endblock %}\r
\r
{% block sidebar %}\r
- {% question_list_count %}\r
+ {% include "question_list/count.html" %}\r
{% sidebar_upper %}\r
{% tag_selector %}\r
{% sidebar_lower %}\r
- {% question_list_related_tags questions %}\r
+ {% question_list_related_tags questions.paginator.page %}\r
\r
{% endblock %}\r
<!-- end questions.html -->\r