1
0
mirror of https://github.com/scrapy/scrapy.git synced 2025-02-28 05:43:56 +00:00

37 lines
741 B
HTML
Raw Normal View History

{% extends "base_doc.html" %}
{% block title %}{{ doc.title|safe }}{% endblock %}
{% block main-content %}
{{ doc.body|safe }}
{% endblock %}
{% block extra-content %}
{% if doc.display_toc %}
<h3>Contents:</h3>
{{ doc.toc|safe }}
{% endif %}
{% if doc.parents %}
{% for p in doc.parents %}
<ul><li><a href="{{ p.link }}">{{ p.title|safe }}</a>
{% endfor %}
<ul><li>{{ doc.title|safe }}</li></ul>
{% for p in doc.parents %}</li></ul>{% endfor %}
</li>
</ul>
{% endif %}
<h3>Browse</h3>
<ul>
{% if doc.prev %}
<li>Prev: <a href="{{ doc.prev.link }}">{{ doc.prev.title|safe }}</a></li>
{% endif %}
{% if doc.next %}
<li>Next: <a href="{{ doc.next.link }}">{{ doc.next.title|safe }}</a></li>
{% endif %}
</ul>
{% endblock %}