aboutsummaryrefslogtreecommitdiff
path: root/dicoweb/templates
diff options
context:
space:
mode:
authorWojciech Polak <polak@gnu.org>2010-08-01 21:42:57 +0200
committerWojciech Polak <polak@gnu.org>2010-08-01 21:42:57 +0200
commit5a7cfa835e0581ee8c0a414dcfa339f76f70f690 (patch)
treefbe2acf054a1d04afbf43def858fb6d9a84001cf /dicoweb/templates
parentc4db582a8c59cabec8632c7f1f79bd79f47ab9d3 (diff)
downloaddico-5a7cfa835e0581ee8c0a414dcfa339f76f70f690.tar.gz
dico-5a7cfa835e0581ee8c0a414dcfa339f76f70f690.tar.bz2
Add "robots" meta value depending on the context.
* dicoweb/templates/base.html: Add page.robots. * dicoweb/views.py: Set "robots" value.
Diffstat (limited to 'dicoweb/templates')
-rw-r--r--dicoweb/templates/base.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/dicoweb/templates/base.html b/dicoweb/templates/base.html
index 33e4491..614b1e7 100644
--- a/dicoweb/templates/base.html
+++ b/dicoweb/templates/base.html
@@ -7,6 +7,7 @@
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="keywords" content="gnu dico web search interface, dicoweb, dictionaries, dict protocol" />
<meta name="description" content="GNU Dico WebSearch Interface" />
+<meta name="robots" content="{{ page.robots }}" />
<link rel="stylesheet" type="text/css" href="{% media_prefix %}/dicoweb.css" />
<link rel="search" type="application/opensearchdescription+xml" title="GNU Dico WebSearch" href="{% url opensearch %}" />
<script type="text/javascript" src="{% media_prefix %}/dicoweb.js"></script>

Return to:

Send suggestions and report system problems to the System administrator.