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 %}
{% 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