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:58:11 +03:00
|
|
|
|
2011-02-05 00:52:21 +03:00
|
|
|
{% block extrahead %}
|
|
|
|
{{ super() }}
|
|
|
|
<script type="text/javascript">
|
2011-02-01 22:55:57 +03:00
|
|
|
|
2011-02-05 00:52:21 +03:00
|
|
|
var _gaq = _gaq || [];
|
|
|
|
_gaq.push(['_setAccount', 'UA-18852272-2']);
|
|
|
|
_gaq.push(['_trackPageview']);
|
|
|
|
|
|
|
|
(function() {
|
|
|
|
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
|
|
|
|
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
|
|
|
|
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
|
|
|
|
})();
|
|
|
|
|
|
|
|
</script>
|
2011-12-15 03:31:57 +04:00
|
|
|
{% endblock %}{% block footer %}
|
|
|
|
<div class="footer"> <p> Documentation version {{ version }} {% endblock %}</p></div>
|