Skip to content

Commit

Permalink
Merge pull request #180 from f5devcentral/add-last-updated
Browse files Browse the repository at this point in the history
feat: add a 'last updated' line on all content
  • Loading branch information
alankrit8 committed Feb 10, 2023
2 parents 4bbfc65 + ed52e4c commit 0c694d9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion f5_sphinx_theme/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
from os import path


__version__ = "2.2.2"
__version__ = "2.2.3"


def get_html_theme_path():
Expand Down
3 changes: 3 additions & 0 deletions f5_sphinx_theme/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,9 @@ <h5>{{ project }} {{ version }} </h5>


<div role="main">
{%- if last_updated %}
{% trans last_updated=last_updated|e %}Last updated on: {{ last_updated }}.{% endtrans %}
{%- endif %}
{% block body %}{% endblock %}
</div>
{% if (next or prev) and (theme_next_prev_link) %}
Expand Down

0 comments on commit 0c694d9

Please sign in to comment.