X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/40e2851e2e2bf5e35063597b30ada01d06d2cc11..dcacc3b4c2ba2f550806a2d22b183f6fac4f63ff:/forum/skins/default/templates/questions.html
diff --git a/forum/skins/default/templates/questions.html b/forum/skins/default/templates/questions.html
index 3be2c97..1fec6af 100644
--- a/forum/skins/default/templates/questions.html
+++ b/forum/skins/default/templates/questions.html
@@ -1,39 +1,49 @@
-{% extends "base.html" %}
-
-{% load question_list_tags %}
-{% load i18n %}
-{% load extra_tags %}
-{% load general_sidebar_tags %}
-
-{% block title %}{% spaceless %}{{ page_title }}{% endspaceless %}{% endblock %}
-
-{% block meta %}
-
-{% endblock %}
-
-{% block content %}
-
-
- {% include "question_list/title.html" %}
-
- {{ questions.paginator.sort_tabs }}
-
-{% for question in questions.paginator.page %}
- {% question_list_item question %}
-{% endfor %}
-{% endblock %}
-
-{% block tail %}
-
- {{ questions.paginator.page_sizes }}
-{% endblock %}
-
-{% block sidebar %}
- {% include "question_list/count.html" %}
- {% sidebar_upper %}
- {% tag_selector %}
- {% sidebar_lower %}
- {% question_list_related_tags questions.paginator.page %}
-
-{% endblock %}
-
+{% extends "base.html" %}
+
+{% load question_list_tags %}
+{% load i18n %}
+{% load extra_tags %}
+{% load general_sidebar_tags %}
+
+{% block title %}{% spaceless %}{{ page_title }}{% endspaceless %}{% endblock %}
+
+{% block metadescription %}{% spaceless %}
+ {% if tag %}
+ {% blocktrans with settings.APP_TITLE as app_title %}Questions and answers about {{ tag }} on {{ app_title }}{% endblocktrans %}
+ {% endif %}
+{% endspaceless %}{% endblock %}
+
+{% block meta %}
+
+{% endblock %}
+
+{% block content %}
+
+
+ {% include "question_list/title.html" %}
+
+ {{ questions.paginator.sort_tabs }}
+
+{% for question in questions.paginator.page %}
+ {% if show_summary %}
+ {% question_list_item question question_summary=yes %}
+ {% else %}
+ {% question_list_item question %}
+ {% endif %}
+{% endfor %}
+{% endblock %}
+
+{% block tail %}
+
+ {{ questions.paginator.page_sizes }}
+{% endblock %}
+
+{% block sidebar %}
+ {% include "question_list/count.html" %}
+ {% sidebar_upper %}
+ {% tag_selector %}
+ {% sidebar_lower %}
+ {% question_list_related_tags questions.paginator.page %}
+
+{% endblock %}
+