Skip to content

Commit

Permalink
Merge pull request #897 from mgeier/commit-and-date
Browse files Browse the repository at this point in the history
Footer: show both "commit" and "last_updated" (if available)
  • Loading branch information
agjohnson committed Jul 23, 2020
2 parents 7df2524 + d5ed3d0 commit 1d85625
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 1d85625

Please sign in to comment.