Commits

Georg Brandl  committed 4402e5a

#503: put agogo rellinks in correct order.

  • Participants
  • Parent commits 13f5375

Comments (0)

Files changed (1)

File sphinx/themes/agogo/layout.html

         <h1><a href="{{ pathto(master_doc) }}">{{ shorttitle|e }}</a></h1>
         {%- endblock %}
         <div class="rel">
-          {%- for rellink in rellinks %}
+          {%- for rellink in rellinks|reverse %}
           <a href="{{ pathto(rellink[0]) }}" title="{{ rellink[1]|striptags|e }}"
              {{ accesskey(rellink[2]) }}>{{ rellink[3] }}</a>
           {%- if not loop.last %}{{ reldelim2 }}{% endif %}
     <div class="footer-wrapper">
       <div class="footer">
         <div class="left">
-          {%- for rellink in rellinks %}
+          {%- for rellink in rellinks|reverse %}
           <a href="{{ pathto(rellink[0]) }}" title="{{ rellink[1]|striptags|e }}"
              {{ accesskey(rellink[2]) }}>{{ rellink[3] }}</a>
           {%- if not loop.last %}{{ reldelim2 }}{% endif %}