Skip to content

Commit

Permalink
pull full footer into this layout and add RTD credit to the footer by…
Browse files Browse the repository at this point in the history
… default
  • Loading branch information
tswicegood committed Jun 9, 2011
1 parent cfb2f08 commit 8e24f34
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 4 deletions.
22 changes: 18 additions & 4 deletions layout.html
Expand Up @@ -10,11 +10,25 @@
{% endblock %}

{% block footer %}
{{ super() }}
<!-- End original user content -->
{% if not using_theme %}
<hr>
<div class="footer">
{%- if show_copyright %}
{%- if hasdoc('copyright') %}
{% trans path=pathto('copyright'), copyright=copyright|e %}&copy; <a href="{{ path }}">Copyright</a> {{ copyright }}.{% endtrans %}
{%- else %}
{% trans copyright=copyright|e %}&copy; Copyright {{ copyright }}.{% endtrans %}
{%- endif %}
{%- endif %}
{%- if last_updated %}
{% trans last_updated=last_updated|e %}Last updated on {{ last_updated }}.{% endtrans %}
{%- endif %}
{%- if show_sphinx %}
{% trans sphinx_version=sphinx_version|e %}Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> {{ sphinx_version }}.{% endtrans %}
{%- endif %}
{%- if theme_show_rtd %}
{% trans %}<br />Theme based on <a href="http://readthedocs.org/">Read The Docs</a>{% endtrans %}
{% endif %}
</div>


{% if theme_analytics_code %}
<!-- Google Analytics Code -->
Expand Down
2 changes: 2 additions & 0 deletions theme.conf
Expand Up @@ -5,6 +5,8 @@ pygment_style = default
show_sphinx = False

[options]
show_rtd = True

white = #ffffff
almost_white = #f8f8f8
barely_white = #f2f2f2
Expand Down

0 comments on commit 8e24f34

Please sign in to comment.