<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>{% block fulltitle %}{% block title %}{% endblock %} - {{ settings.APP_SHORT_NAME }}{% endblock %}</title>
- <meta name="description" content="{{ settings.APP_DESCRIPTION }}">
- <meta name="keywords" content="{{ settings.APP_KEYWORDS }}">
+ <meta name="description" content="{% block metadescription %}{{ settings.APP_DESCRIPTION }}{% endblock %}">
+ <meta name="keywords" content="{% block metakeywords %}{{ settings.APP_KEYWORDS }}{% endblock %}">
{% block meta %}{% endblock %}
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
{% if settings.GOOGLE_SITEMAP_CODE %}
{% load humanize %}\r
{% load i18n %}\r
{% load cache %}\r
+{% block metadescription %}{{question.summary}}{% endblock %}\r
+{% block metakeywords %}{{question.tagname_meta_generator}}{% endblock %}\r
{% block title %}{% spaceless %}{{ question.headline }}{% endspaceless %}{% endblock %}\r
{% block forejs %}\r
- <meta name="description" content="{{question.summary}}" />\r
- <meta name="keywords" content="{{question.tagname_meta_generator}}" />\r
<link rel="canonical" href="{{settings.APP_URL}}{{question.get_absolute_url}}" />\r
- {% if not question.closed %}\r
+ {% if not question.nis.closed %}\r
<script type='text/javascript' src='{% media "/media/js/wmd/showdown.js" %}'></script>\r
<script type='text/javascript' src='{% media "/media/js/wmd/wmd.js" %}'></script>\r
<link rel="stylesheet" type="text/css" href="{% media "/media/js/wmd/wmd.css" %}" />\r