summaryrefslogtreecommitdiff
path: root/alabaster-lite/sidebars/related.html
blob: f49e019651ee053684e5caf58c10aebb0846628e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{% if page.previous_page or page.next_page %}
  <h3>Related Topics</h3>
  <ul>
    {% if page.previous_page %}
      <li>Previous: <a href="{{page.previous_page.url|url}}" title="previous chapter">
        {{page.previous_page.title}}
      </a></li>
    {% endif %}
    {% if page.next_page %}
      <li>Next: <a href="{{page.next_page.url|url}}" title="next chapter">
        {{page.next_page.title}}
      </a></li>
    {% endif %}
  </ul>
{% endif %}