mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-27 12:04:02 +03:00
14 lines
388 B
HTML
14 lines
388 B
HTML
|
{% 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 %}
|
||
|
|