<table>
<tr><td> </td><td>Topic</td><td>Subtopic</td></tr>
{% if page.next %}
{% if page.next.url %}
{% if page.next.subtitle %}
<tr><td> Next: ></td><td> {{page.next.title}}</td><td><a class="prev" href="{{page.next.url}}"> {{page.next.subtitle}} </td></tr>
{% else %}
<tr><td> Next: ></td><td> <a class="prev" href="{{page.next.url}}"> {{page.next.title}} </a></td><td> </td></tr>
{% endif %}
{% endif %}
{% endif %}
{% if page.previous %}
{% if page.previous.url %}
{% if page.previous.subtitle %}
<tr><td>< Prev: </td><td> {{page.previous.title}}</td><td><a class="prev" href="{{page.previous.url}}"> {{page.previous.subtitle}} </td></tr>
{% else %}
<tr><td>< Prev: </td><td> <a class="prev" href="{{page.previous.url}}"> {{page.previous.title}} </a></td><td> </td></tr>
{% endif %}
{% endif %}
{% endif %}
{% if page.category %}
{% for section in site.data.sections %}
{% assign attr = section[0] %}
{% if attr == page.category %}
{% assign label = section[1] %}
{% endif %}
{% endfor %}
{% if label %}
<tr><td><i>This Category:</i></td><td><a href="/cats/{{ page.category }}/">{{ label }}</a></td></tr>
{% if page.previous_in_category %}
{% if page.previous_in_category.url %}
{% if page.previous_in_category.subtitle %}
<tr><td> Next: ></td><td> {{page.previous_in_category.title}}</td><td><class="prev" href="{{page.previous_in_category.url}}"> {{page.previous_in_category.subtitle}} </td></tr>
{% else %}
<tr><td> Next: ></td><td> <a class="prev" href="{{page.previous_in_category.url}}"> {{page.previous_in_category.title}} </a></td><td> </td></tr>
{% endif %}
{% endif %}
{% endif %}
{% if page.next_in_category %}
{% if page.next_in_category.url %}
{% if page.next_in_category.subtitle %}
<tr><td>< Prev: </td><td> {{page.next_in_category.title}}</td><td><a class="prev" href="{{page.next_in_category.url}}"> {{page.next_in_category.subtitle}} </td></tr>
{% else %}
<tr><td>< Prev: </td><td> <a class="prev" href="{{page.next_in_category.url}}"> {{page.next_in_category.title}} </a></td><td> </td></tr>
{% endif %} {% end raw %}
{% endif %}
{% endif %}
{% endif %}
{% endif %}
</table>