- {%- if last_updated %} + {%- if last_updated and theme_display_last_updated %} {% trans last_updated=last_updated|e %}Last updated on: {{ last_updated }}.{% endtrans %} {%- endif %} {% block body %}{% endblock %} diff --git a/f5_sphinx_theme/theme.conf b/f5_sphinx_theme/theme.conf index e59def9..0712bcd 100644 --- a/f5_sphinx_theme/theme.conf +++ b/f5_sphinx_theme/theme.conf @@ -17,3 +17,4 @@ dropdown = sidebar_toc_maxdepth = hide_right_menu = show_project = True +display_last_updated = False