mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
copyright and footer, fixes #7
This commit is contained in:
parent
90d502d0a2
commit
bfd533d07b
16
sphinx_rtd_theme/footer.html
Normal file
16
sphinx_rtd_theme/footer.html
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
<footer>
|
||||||
|
<hr/>
|
||||||
|
|
||||||
|
{%- if show_copyright %}
|
||||||
|
{%- if hasdoc('copyright') %}
|
||||||
|
{% trans path=pathto('copyright'), copyright=copyright|e %}© <a href="{{ path }}">Copyright</a> {{ copyright }}.{% endtrans %}
|
||||||
|
{%- else %}
|
||||||
|
{% trans copyright=copyright|e %}© Copyright {{ copyright }}.{% endtrans %}
|
||||||
|
{%- endif %}
|
||||||
|
{%- endif %}
|
||||||
|
|
||||||
|
{%- if last_updated %}
|
||||||
|
{% trans last_updated=last_updated|e %}Last updated on {{ last_updated }}.{% endtrans %}
|
||||||
|
{%- endif %}
|
||||||
|
|
||||||
|
</footer>
|
|
@ -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>
|
||||||
|
|
|
@ -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
Loading…
Reference in New Issue
Block a user