From 478dc2d0ce1c350dab7de28fbbdad5188f2e3bb5 Mon Sep 17 00:00:00 2001 From: tom christie tom@tomchristie.com Date: Tue, 1 Feb 2011 19:55:57 +0000 Subject: Fix up doc title & desc, fix repo link --- docs/templates/layout.html | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 docs/templates/layout.html (limited to 'docs/templates/layout.html') diff --git a/docs/templates/layout.html b/docs/templates/layout.html new file mode 100644 index 00000000..681266cc --- /dev/null +++ b/docs/templates/layout.html @@ -0,0 +1,13 @@ +{% extends "!layout.html" %} + +{%- if not embedded and docstitle %} + {%- set titleprefix = docstitle|e + " - "|safe %} +{%- else %} + {%- set titleprefix = "" %} +{%- endif %} + +{% block htmltitle %}{% if pagename == 'index' %}Django REST Framework{% else %}{{ titleprefix }}{{ title|striptags|e }}{% endif %}{% endblock %} +{% block extrahead %} +{{ super() }} +{% endblock %} + -- cgit v1.2.3