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 Jul 7, 2020
1 parent 7df2524 commit d5ed3d0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sphinx_rtd_theme/footer.html
Expand Up @@ -36,7 +36,8 @@
{# Translators: the phrase "revision" comes from Git, referring to a 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 d5ed3d0

Please sign in to comment.