Commit fb6ed759 authored by Victor Zverovich's avatar Victor Zverovich

Align footer with the main content

parent e9bf788b
...@@ -118,28 +118,32 @@ ...@@ -118,28 +118,32 @@
{%- block footer %} {%- block footer %}
<footer class="footer"> <footer class="footer">
<div class="container"> <div class="container">
<p class="pull-right"> <div class="row">
<a href="#">Back to top</a> <div class="col-md-8 col-md-offset-2">
{% if theme_source_link_position == "footer" %} <p class="pull-right">
<br/> <a href="#">Back to top</a>
{% include "sourcelink.html" %} {% if theme_source_link_position == "footer" %}
{% endif %} <br/>
</p> {% include "sourcelink.html" %}
<p> {% endif %}
{%- if show_copyright %} </p>
{%- if hasdoc('copyright') %} <p>
{% trans path=pathto('copyright'), copyright=copyright|e %}&copy; <a href="{{ path }}">Copyright</a> {{ copyright }}.{% endtrans %}<br/> {%- if show_copyright %}
{%- else %} {%- if hasdoc('copyright') %}
{% trans copyright=copyright|e %}&copy; Copyright {{ copyright }}.{% endtrans %}<br/> {% trans path=pathto('copyright'), copyright=copyright|e %}&copy; <a href="{{ path }}">Copyright</a> {{ copyright }}.{% endtrans %}<br/>
{%- endif %} {%- else %}
{%- endif %} {% trans copyright=copyright|e %}&copy; Copyright {{ copyright }}.{% endtrans %}<br/>
{%- if last_updated %} {%- endif %}
{% trans last_updated=last_updated|e %}Last updated on {{ last_updated }}.{% endtrans %}<br/> {%- endif %}
{%- endif %} {%- if last_updated %}
{%- if show_sphinx %} {% trans last_updated=last_updated|e %}Last updated on {{ last_updated }}.{% endtrans %}<br/>
{% trans sphinx_version=sphinx_version|e %}Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> {{ sphinx_version }}.{% endtrans %}<br/> {%- endif %}
{%- endif %} {%- if show_sphinx %}
</p> {% trans sphinx_version=sphinx_version|e %}Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> {{ sphinx_version }}.{% endtrans %}<br/>
{%- endif %}
</p>
</div>
</div>
</div> </div>
</footer> </footer>
{%- endblock %} {%- endblock %}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment