Skip to content

Commit

Permalink
Footer: show both "commit" and "last_updated" (if available)
Browse files Browse the repository at this point in the history
Closes #238.
  • Loading branch information
mgeier committed Apr 8, 2020
1 parent 3503493 commit f379fdb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sphinx_rtd_theme/footer.html
Expand Up @@ -35,7 +35,8 @@
<span class="commit">
{% trans %}Revision{% endtrans %} <code>{{ commit }}</code>.
</span>
{%- elif last_updated %}
{%- endif %}
{%- if last_updated %}
<span class="lastupdated">
{% trans last_updated=last_updated|e %}Last updated on {{ last_updated }}.{% endtrans %}
</span>
Expand Down

0 comments on commit f379fdb

Please sign in to comment.