]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/skins/default/templates/questions.html
Jira OSQA-528, display the tag name in the meta description on the tag view, extendin...
[osqa.git] / forum / skins / default / templates / questions.html
index 34c81ba42d4854ba074d55a946a1f6eb8e8b0597..6b9e0a394873104747cb36128f162134ad95dacc 100644 (file)
@@ -7,14 +7,20 @@
 \r
 {% block title %}{% spaceless %}{{ page_title }}{% endspaceless %}{% endblock %}\r
 \r
-{% block forejs %}\r
-    <link rel="alternate" type="application/rss+xml" title="RSS" href="{{ feed_url }}">\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
     {{ questions.paginator.sort_tabs }}\r
 </div>\r
@@ -29,7 +35,7 @@
 {% 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