From 7d7bf25b6fb206343959d7f496ab4215fd1f3df6 Mon Sep 17 00:00:00 2001 From: hernani Date: Mon, 31 May 2010 12:00:37 +0000 Subject: [PATCH] Removes duplicate meta description from question page. git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@346 0cfe37f9-358a-4d5e-be75-b63607b5c754 --- forum/skins/default/templates/base_content.html | 4 ++-- forum/skins/default/templates/question.html | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/forum/skins/default/templates/base_content.html b/forum/skins/default/templates/base_content.html index 3e9c19f..ac6b9da 100644 --- a/forum/skins/default/templates/base_content.html +++ b/forum/skins/default/templates/base_content.html @@ -5,8 +5,8 @@ {% block fulltitle %}{% block title %}{% endblock %} - {{ settings.APP_SHORT_NAME }}{% endblock %} - - + + {% block meta %}{% endblock %} {% if settings.GOOGLE_SITEMAP_CODE %} diff --git a/forum/skins/default/templates/question.html b/forum/skins/default/templates/question.html index b879874..4ffc481 100644 --- a/forum/skins/default/templates/question.html +++ b/forum/skins/default/templates/question.html @@ -8,12 +8,12 @@ {% load humanize %} {% load i18n %} {% load cache %} +{% block metadescription %}{{question.summary}}{% endblock %} +{% block metakeywords %}{{question.tagname_meta_generator}}{% endblock %} {% block title %}{% spaceless %}{{ question.headline }}{% endspaceless %}{% endblock %} {% block forejs %} - - - {% if not question.closed %} + {% if not question.nis.closed %} -- 2.39.5