diff options
Diffstat (limited to 'docs/templates')
| -rw-r--r-- | docs/templates/layout.html | 13 |
1 files changed, 13 insertions, 0 deletions
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 %}<title>{% if pagename == 'index' %}Django REST Framework{% else %}{{ titleprefix }}{{ title|striptags|e }}{% endif %}</title>{% endblock %} +{% block extrahead %} +{{ super() }} +{% endblock %} + |
