mirror of https://github.com/scrapy/scrapy.git
moved parents on top of prev/next links
--HG-- extra : convert_revision : svn%3Ab85faa78-f9eb-468e-a121-7cced6da292c%40516
This commit is contained in:
parent
89de849ed1
commit
58ce43c14e
|
|
@ -13,17 +13,6 @@
|
|||
{{ 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>
|
||||
|
||||
|
||||
{% if doc.parents %}
|
||||
{% for p in doc.parents %}
|
||||
<ul><li><a href="{{ p.link }}">{{ p.title|safe }}</a>
|
||||
|
|
@ -34,4 +23,14 @@
|
|||
</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 %}
|
||||
|
|
|
|||
Loading…
Reference in New Issue