mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-24 12:14:26 +00:00
Align footer with the main content
This commit is contained in:
parent
e9bf788bd5
commit
fb6ed7590b
@ -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 %}© <a href="{{ path }}">Copyright</a> {{ copyright }}.{% endtrans %}<br/>
|
{%- if show_copyright %}
|
||||||
{%- else %}
|
{%- if hasdoc('copyright') %}
|
||||||
{% trans copyright=copyright|e %}© Copyright {{ copyright }}.{% endtrans %}<br/>
|
{% trans path=pathto('copyright'), copyright=copyright|e %}© <a href="{{ path }}">Copyright</a> {{ copyright }}.{% endtrans %}<br/>
|
||||||
{%- endif %}
|
{%- else %}
|
||||||
{%- endif %}
|
{% trans copyright=copyright|e %}© 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 %}
|
||||||
|
Loading…
Reference in New Issue
Block a user