django-rest-framework/docs/templates/layout.html

12 lines
338 B
HTML
Raw Normal View History

2011-02-01 22:55:57 +03:00
{% extends "!layout.html" %}
{%- if not embedded and docstitle %}
{%- set titleprefix = docstitle|e + " - "|safe %}
{%- else %}
{%- set titleprefix = "" %}
{%- endif %}
2011-02-01 23:00:16 +03:00
{% block htmltitle %}<title>{% if pagename == 'index' %}Django REST framework{% else %}{{ titleprefix }}{{ title|striptags|e }}{% endif %}</title>{% endblock %}
2011-02-01 22:55:57 +03:00