mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-23 10:03:57 +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 %}
|
|
|
|
|