copyright and footer, fixes #7

This commit is contained in:
Dave Snider 2013-10-26 16:38:18 -07:00
parent 90d502d0a2
commit bfd533d07b
4 changed files with 21 additions and 1 deletions

View File

@ -0,0 +1,16 @@
<footer>
<hr/>
{%- 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 %}
</footer>

View File

@ -115,8 +115,10 @@
<div class="rst-content"> <div class="rst-content">
{% include "breadcrumbs.html" %} {% include "breadcrumbs.html" %}
{% block body %}{% endblock %} {% block body %}{% endblock %}
{% include "footer.html" %}
</div> </div>
</div> </div>
</section> </section>
</div> </div>

View File

@ -216,6 +216,8 @@
z-index: $z-index-modal - 1 z-index: $z-index-modal - 1
&.on &.on
display: block display: block
footer
color: $gray-light
+media($tablet) +media($tablet)
.wy-body-for-nav .wy-body-for-nav

File diff suppressed because one or more lines are too long