1
0
mirror of https://github.com/scrapy/scrapy.git synced 2025-02-27 18:44:07 +00:00
Ismael Carnales 7414e93102 added breadcrumb navigation to docs
--HG--
extra : convert_revision : svn%3Ab85faa78-f9eb-468e-a121-7cced6da292c%40521
2008-12-16 16:57:52 +00:00

34 lines
672 B
HTML

{% extends "base_doc.html" %}
{% block title %}{{ doc.title|safe }}{% endblock %}
{% block main-content %}
{% if doc.parents %}
<div class="breadcrumb">
{% for p in doc.parents %}
<a href="{{ p.link }}">{{ p.title|safe }}</a> &raquo;
{% endfor %}
</div>
{% endif %}
{{ doc.body|safe }}
{% endblock %}
{% block extra-content %}
{% if doc.display_toc %}
<h3>Contents:</h3>
{{ doc.toc|safe }}
{% 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 %}