Skip to content

Commit

Permalink
Corrections to last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgesumle committed Feb 23, 2017
1 parent 2f60d2c commit 338a608
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
Read the Docs Sphinx Theme
**************************

.. contents::
.. contents::

View a working demo_ over on readthedocs.org_.

Expand Down Expand Up @@ -97,8 +97,8 @@ Changelog
master
------

* Adds ``rel`` and ``rel`` HTML attributes to the footer links which point
to the previous and next pages.
* Add the ``rel`` HTML attribute to the footer links which point to
the previous and next pages.
* Adds the ``comments`` block after the ``body`` block in the template

v0.1.10-alpha
Expand Down
4 changes: 2 additions & 2 deletions sphinx_rtd_theme/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
{% if (theme_prev_next_buttons_location == 'bottom' or theme_prev_next_buttons_location == 'both') and (next or prev) %}
<div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
{% if next %}
<a href="{{ next.link|e }}" class="btn btn-neutral float-right" title="{{ next.title|striptags|e }}" accesskey="n" rel="next" rev="prev">{{ _('Next') }} <span class="fa fa-arrow-circle-right"></span></a>
<a href="{{ next.link|e }}" class="btn btn-neutral float-right" title="{{ next.title|striptags|e }}" accesskey="n" rel="next">{{ _('Next') }} <span class="fa fa-arrow-circle-right"></span></a>
{% endif %}
{% if prev %}
<a href="{{ prev.link|e }}" class="btn btn-neutral" title="{{ prev.title|striptags|e }}" accesskey="p" rel="prev" rev="next"><span class="fa fa-arrow-circle-left"></span> {{ _('Previous') }}</a>
<a href="{{ prev.link|e }}" class="btn btn-neutral" title="{{ prev.title|striptags|e }}" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left"></span> {{ _('Previous') }}</a>
{% endif %}
</div>
{% endif %}
Expand Down

0 comments on commit 338a608

Please sign in to comment.