mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-11 12:17:24 +03:00
12 lines
338 B
HTML
12 lines
338 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 %}
|
|
|
|
|