fix url / title meta stuff
This commit is contained in:
parent
30b17f94a3
commit
e1622b6a10
|
@ -120,7 +120,8 @@ def render_object(request, module_slug):
|
||||||
item_data = obj.insidepage_dict(request)
|
item_data = obj.insidepage_dict(request)
|
||||||
else: #Should be a better way to tell the template a search returned no result
|
else: #Should be a better way to tell the template a search returned no result
|
||||||
obj = {
|
obj = {
|
||||||
'get_title': 'No Results Found'
|
'get_title': 'No Results Found',
|
||||||
|
'get_absolute_url': tab.get_absolute_url()
|
||||||
}
|
}
|
||||||
item_data = {
|
item_data = {
|
||||||
'html': 'The search query you entered did not return any results.'
|
'html': 'The search query you entered did not return any results.'
|
||||||
|
|
|
@ -2,9 +2,11 @@
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
|
{% block meta %}
|
||||||
<meta name="keywords" content="Theatre, ITF, India, Best Practices, Theatre Resources" />
|
<meta name="keywords" content="Theatre, ITF, India, Best Practices, Theatre Resources" />
|
||||||
<meta name="title" content="India Theatre Forum" />
|
<meta name="title" content="India Theatre Forum" />
|
||||||
<meta name="description" content="India Theatre Forum: Best practices and theatre resources for the theatre community in India." />
|
<meta name="description" content="India Theatre Forum: Best practices and theatre resources for the theatre community in India." />
|
||||||
|
{% endblock %}
|
||||||
<title>{% block title %} {% endblock %}</title>
|
<title>{% block title %} {% endblock %}</title>
|
||||||
<link rel="stylesheet" href="/static/css/reset.css" type="text/css" />
|
<link rel="stylesheet" href="/static/css/reset.css" type="text/css" />
|
||||||
<link rel="stylesheet" href="/static/css/noel/main.css" type="text/css" />
|
<link rel="stylesheet" href="/static/css/noel/main.css" type="text/css" />
|
||||||
|
|
|
@ -7,6 +7,10 @@
|
||||||
<link rel="stylesheet" href="/static/css/noel/inner-details.css" type="text/css" />
|
<link rel="stylesheet" href="/static/css/noel/inner-details.css" type="text/css" />
|
||||||
<link type="text/css" rel="stylesheet" href="/static/css/jquery.tooltip.css" />
|
<link type="text/css" rel="stylesheet" href="/static/css/jquery.tooltip.css" />
|
||||||
<link rel="canonical" href="http://theatreforum.in{{ item.get_absolute_url }}" />
|
<link rel="canonical" href="http://theatreforum.in{{ item.get_absolute_url }}" />
|
||||||
|
{% block meta %}
|
||||||
|
<meta name="title" content="{{ item.get_title }}" />
|
||||||
|
<meta name="description" content="{{ tab.text }}" />
|
||||||
|
{% endblock %}
|
||||||
<!--
|
<!--
|
||||||
<script type="text/javascript" src="/static/js/history/history.js"></script>
|
<script type="text/javascript" src="/static/js/history/history.js"></script>
|
||||||
<script type="text/javascript" src="/static/js/history/amplify.store.js"></script>
|
<script type="text/javascript" src="/static/js/history/amplify.store.js"></script>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user